/* Polices d'écriture */
@font-face {
  font-family: Avenir;
  src: url(fonts/Avenir.eot);
  src: url(fonts/Avenir.ttf);
  src: url(fonts/Avenir.woff);
  src: url(fonts/Avenir.woff2);
}

@font-face {
    font-family: "Didot LT W01 Roman";
    src: url(fonts/Didot W01 Italic.eot);
    src: url(fonts/Didot W01 Italic.ttf);
    src: url(fonts/Didot W01 Italic.woff);
    src: url(fonts/Didot W01 Italic.woff2);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Avenir', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

/* Effet de fondu pour les transitions de pages */
.page-transition {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.page-transition.fade-in {
    opacity: 1;
}

/* Typography - Mobile First */
h1 {
    font-family: 'Didot LT W01 Roman', serif;
    font-size: 38px;
    font-weight: 400;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 21px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

h4 {
    font-family: 'Didot LT W01 Roman', serif;
    font-style: italic;
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
    display: block;
    font-weight: 400;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.custom-button {
    background: #F8E6DE;
    color: #2f2f2E !important;
    border: solid 1px transparent;
    transition: all 0.3s ease;
    padding: 12px 20px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-decoration: none;
    font-family: 'Avenir', serif;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.custom-button:hover {
    background: #ffffff;
    border: solid 1px #2f2f2E !important;
    cursor: pointer;
}

/* Navigation Mobile First */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Didot LT W01 Roman', serif;
    font-size: 18px;
    font-style: italic;
    color: #333;
}

.logo-text a {
    text-decoration: none;
    color: #333;
}

/* Burger Menu Mobile */
.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menu Mobile */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    padding: 50px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0 10px 20px;
    text-align: right;
}

.nav-link:hover {
    color: #333;
}

.nav-cta {
    background: #F8E6DE;
    color: #2f2f2E !important;
    transition: all 0.3s ease;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
}

.nav-cta:hover {
    background: #555;
    color: #ffffff !important;
}

/* Gestion des pages */
.page-section {
    min-height: 100vh;
    padding-top: 80px;
}

/* Hero Section Mobile */
.hero-section {
    padding: 20px 0 60px;
    background: #FFFFFF;
}

.hero-content {
    background-color: #F8E6DE;
    max-width: 100%;
    min-height: 85vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    order: 2;
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    font-weight: 400;
    color: #333;
    line-height: 0.9;
    margin-bottom: 30px;
}

.subtitle {
    font-size: 22px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #2f2f2E !important;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
}

.cta-button:hover {
    background: #555;
    color: #ffffff !important;
}

.hero-image {
    flex: 1;
    width: 100%;
    height: 300px;
    overflow: hidden;
    order: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Preview Section Mobile */
.about-section .container {
    background-color: #EAEAE899;
    padding: 40px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-image {
    display: flex;
    padding: 20px;
    margin-top: 20px;
    justify-content: center;
}

.about-image img {
    width: 350px;
    height: 280px;
    object-fit: contain;
}

/* Services Section Mobile */
.services-section {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    gap: 0;
}

.service-card {
    padding: 40px 20px;
    background: #E8D5D2;
    text-align: center;
}

.service-card:first-child {
    background: #D5BEB9;
}

.service-card:last-child {
    background: #F8E6DE;
}

.service-card:last-child .custom-button {
    background: #ffffff;
    color: #2f2f2E !important;
    border: solid 1px transparent;
    transition: all 0.3s ease;
}

.service-card:last-child .custom-button:hover {
    background: #f8e6de;
    border: solid 1px #2f2f2E !important;
}

.service-number {
    font-family: 'Didot LT W01 Roman', serif;
    font-size: 20px;
    font-style: italic;
    color: #2f2f2E;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.service-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
    font-size: 14px;
}

/* Page À propos Mobile */
.about-intro {
    background: #f8e7de;
    padding: 40px 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.about-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.about-intro-image {
    display: flex;
    justify-content: center;
}

.about-intro-image img {
    width: 300px;
    height: 350px;
    object-fit: cover;
}

/* Parcours Section Mobile */
.parcours-section {
    background: #f8e7de;
    padding: 40px 20px;
    margin-top: 20px;
}

.parcours-category {
    margin-bottom: 40px;
}

.parcours-category h4 {
    margin-bottom: 20px;
    color: #333333;
}

.parcours-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}


/* Page Consultations Mobile */
.consultations-hero {
    background: #EAEAE8CC;
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    position: relative;
}

.consultations-hero-image {
    width: 100%;
    margin-bottom: 20px;
}

.consultations-hero-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.consultations-hero-content {
    background: #FFFFFF;
    padding: 30px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* Art Therapy Section Mobile */
.art-therapy-section {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
}

.art-therapy-image {
    width: 100%;
    height: 250px;
    display: flex;
}

.art-therapy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Target Section Mobile */
.target-section {
    background: #E8D5D2;
    padding: 40px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.target-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
}

.target-text {
    text-align: left;
}

.target-image {
    width: 100%;
    height: 250px;
    display: flex;
}

.target-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

.cta-link {
    display: inline-block;
    background: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 20px;
}

/* Process Section Mobile */
.process-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.process-step h3 {
    font-style: italic;
}

.step-number {
    font-family: 'Didot LT W01 Roman', serif;
    font-size: 36px;
    color: #333;
    font-style: italic;
}


/* Page Contact Mobile */
.contact-container {
    background-color: #F8E6DE;
    padding: 20px;
}

.contact-hero {
    background-color: #FFFFFF;
    max-width: 100%;
    min-height: auto;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hero-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    order: 1;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
    order: 2;
}

.contact-hero-content p {
    max-width: 100%;
}

.contact-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #FFFFFF;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.contact-info h2 {
    margin-bottom: 0;
}

.instagram-handle {
    background: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

/* Formulaire Mobile */

.contact-form {
    max-width: 100%;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #333;
    font-size: 14px;
    font-family: inherit;
    background: white;
    border-radius: 5px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 5px rgba(51,51,51,0.3);
}

.form-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.form-button button {
    width: 100%;
    max-width: 200px;
}

/* Page Mentions légales mobile */
.mentions-container {
    background-color: #EAEAE899;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mentions-content {
    max-width: 800px;
    width: 100%;
    padding: 0 10px;
    color: #333;
}

.mentions-text {
    color: #555;
    line-height: 1.7;
}

.intro-text {
    font-size: 16px;
    margin-bottom: 35px;
    text-align: justify;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section p {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.6;
}

.legal-section a {
    color: #333;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #666;
    text-decoration: none;
}


/* Footer Mobile */
.footer {
    padding: 30px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    font-size: 18px;
    text-decoration: none;
    color: #333;
}

.social-link img {
    width: 12px;
    height: 12px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-link {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.footer-link:hover {
    color: #333;
}

.footer-credit {
    font-size: 12px;
    color: #666;
}

/* TABLET STYLES - 768px and up */
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .nav-container {
        padding: 0 40px;
    }
    
    h1 {
        font-size: 42px;
        margin-bottom: 25px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 28px;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .service-title {
        font-size: 32px;
    }
    
    .about-image img {
        width: 300px;
        height: 330px;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .mentions-container {
        padding: 60px 40px 100px;
    }
    
    .mentions-content {
        padding: 60px 50px;
    }
    
    .intro-text {
        font-size: 17px;
    }
    
    .legal-section p {
        font-size: 16px;
    }
}

/* DESKTOP STYLES - 1024px and up */
@media (min-width: 1024px) {

    body {
        font-size: 16px;
        margin-top: 40px;
    }

    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        padding: 0 60px;
    }
    
    /* Navigation Desktop */
    .burger-menu {
        display: none;
    }
    
    .nav-menu {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        height: auto;
        background: transparent;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 30px;
        transition: none;
        padding: 10px;
    }
    
    .nav-container {
        padding: 0 60px;
        margin: 20px auto 0 auto;
    }
    
    .logo-text {
        font-size: 22px;
    }

    .logo-text a {
        color: #333;
        transition: all 1.1s ease;
    }

    .logo-text a:hover {
        color: #666666;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 0;
    }
    
    .nav-cta {
        padding: 10px 20px;
        border-radius: 0;
    }
    
    /* Typography Desktop */
    h1 {
        font-size: 56px;
        margin-bottom: 30px;
    }
    
    h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 21px;
    }
    
    /* Hero Section Desktop */
    .hero-content {
        display: flex;
        flex-direction: row;
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        padding: 60px;
    }
    
    .hero-image {
        order: 2;
        height: 80vh;
    }
    
    .hero-title {
        font-size: 65px;
        margin-bottom: 40px;
    }
    
    .subtitle {
        font-size: 39px;
    }
    
    .cta-button {
        margin-top: 0;
    }
    
    /* About Desktop */
    .about-section .container {
        padding: 60px 120px;
    }

    .about-content p {
        max-width: 600px;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .about-image img {
        width: 600px;
        height: 400px;
    }
    
    /* Services Desktop */
    .services-section {
        padding: 80px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-direction: row;
    }
    
    .service-card {
        padding: 100px 100px;
        text-align: center;
    }
    
    .service-number {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .service-title {
        font-size: 39px;
        margin-bottom: 30px;
    }
    
    .service-description {
        margin-bottom: 40px;
        font-size: 16px;
    }
    
    /* About Page Desktop */
    .about-intro {
        padding: 60px 140px;
        margin-bottom: 60px;
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 150px;
        align-items: center;
    }
    
    .about-description {
        max-width: 600px;
    }
    
    .about-intro-image img {
        width: 400px;
        height: 450px;
    }
    
    /* Parcours Desktop */
    .parcours-section {
        padding: 60px 140px 20px 140px;
    }
    
    .parcours-category {
        margin-bottom: 50px;
    }
    
    .parcours-category h4 {
        margin-bottom: 30px;
    }
    
    .parcours-item {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 40px;
        border-bottom: none;
        flex-direction: row;
    }
    
    
    /* Consultations Desktop */
    .consultations-hero {
        display: flex;
        flex-direction: row;
        height: 50vh;
        padding: 60px;
    }
    
    .consultations-hero-image {
        flex: 5;
        height: 30vh;
        position: relative;
        z-index: 1;
    }
    
    .consultations-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .consultations-hero-content {
        flex: 4;
        padding: 50px 100px;
        margin-top: 60px;
        margin-left: -400px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        position: relative;
        z-index: 2;
        height: 32vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Art Therapy Desktop */
    .art-therapy-section {
        padding: 80px 140px;
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 100px;
        flex-direction: row;
    }
    
    .art-therapy-image img {
        height: 400px;
    }
    
    /* Target Desktop */
    .target-section {
        padding: 80px 140px;
        margin-bottom: 80px;
    }
    
    .target-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 100px;
        flex-direction: row;
    }
    
    .target-image img {
        height: 550px;
    }
    
    /* Process Desktop */
    .process-section {
        max-width: 1000px;
        padding: 0 20px 80px;
    }

    .process-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 30px;
        margin-bottom: 40px;
        border-bottom: none;
        flex-direction: row;
        align-items: baseline;
    }
    
    .process-step h3 {
        font-style: italic;
    }

    .step-number {
        margin: 0;
        font-size: 120px;
        font-style: italic;
        align-self: flex-start;
        line-height: 1;
    }

    .step1 {
        margin-left: -50px;
    }

    .step2 {
        margin-left: 100px;
    }

    .step3 {
        margin-left: 250px;
    }
    

    /* Contact Desktop */
    .contact-container {
        padding: 60px;
    }
    
    .contact-hero {
        margin-bottom: 50px;
        min-height: 40vh;
        flex-direction: row;
    }
    
    .contact-hero-image {
        flex: 1;
        height: 40vh;
        order: 1;
    }
    
    .contact-hero-content {
        flex: 2;
        padding: 60px 100px;
        order: 2;
    }
    
    .contact-hero-content p {
        max-width: 600px;
    }
    
    .contact-content {
        padding: 60px 80px;
        flex-direction: row;
        justify-content: space-around;
        gap: 60px;
    }
    
    .contact-info {
        text-align: left;
        justify-content: space-between;
    }
    
    
    /* Form Desktop */
    
    .contact-form {
        max-width: 500px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        flex-direction: row;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 15px;
        border-radius: 0;
    }
    
    .form-button {
        margin-top: 0;
    }
    
    .form-button button {
        width: auto;
        flex: 1;
    }


    /* Mentions légales Desktop */

    .mentions-container {
        padding: 30px 50px;
    }
    
    .mentions-content {
        padding: 40px;
    }
    
    .intro-text {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .legal-section {
        margin-bottom: 35px;
    }
    
    .legal-section p {
        margin-bottom: 12px;
    }

}