/*
Theme Name: Psychothérapeute Pro
Theme URI: https://psypicsaintloup.fr
Description: Thème WordPress moderne et élégant pour psychothérapeutes
Author: Adeline Maxwell
Author URI: https://psypicsaintloup.fr
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psy-theme
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    color: #5a4a42;
    overflow-x: hidden;
    background: #f5f1ed;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 241, 237, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #5a4a42;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c99b8a;
}

.cta-button {
    background: #c99b8a;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 155, 138, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #5a4a42;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(245, 241, 237, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: #5a4a42;
    font-size: 18px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
}

.mobile-menu a:hover {
    background: #c99b8a;
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://psypicsaintloup.fr/wp-content/uploads/2025/10/Cabinet-Pic-Saint-Looup.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 74, 66, 0.15) 0%, rgba(184, 133, 115, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #c99b8a;
    color: white;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 155, 138, 0.4);
    background: transparent !important;
    border: 2px solid #c99b8a !important;
    color: #c99b8a !important;
}

.hero .btn-primary:hover {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: #c99b8a;
}

.approach-section {
    padding: 120px 50px;
    background: #e8ddd5;
}

.approach-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.approach-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.approach-text p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
}

.therapy-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.therapy-card {
    background: rgba(245, 241, 237, 0.7);
    padding: 20px 30px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    transition: all 0.4s;
    animation: gentleBounce 4s ease-in-out infinite;
    text-decoration: none;
    color: #5a4a42;
}

.therapy-card:nth-child(2) {
    animation-delay: 1s;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.therapy-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
}

.approach-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.approach-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.approach-image img {
    width: 100%;
    height: 650px;
    object-fit: contain;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.therapies-section {
    padding: 120px 50px;
    background: #e8ddd5;
    text-align: center;
}

.therapies-section h2 {
    font-size: 42px;
    margin-bottom: 60px;
    color: #5a4a42;
}

.therapy-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.therapy-box {
    background: #f4e4d7;
    padding: 50px 35px;
    border-radius: 25px;
    text-align: left;
    transition: all 0.5s;
    opacity: 0;
    transform: translateY(50px);
    animation: gentleFloat 5s ease-in-out infinite;
}

.therapy-box:nth-child(2) {
    animation-delay: 1.5s;
}

.therapy-box:nth-child(3) {
    animation-delay: 3s;
}

.therapy-box:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.therapy-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.therapy-box:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.therapy-box h3 {
    font-size: 24px;
    margin-bottom: 18px;
    color: #5a4a42;
}

.therapy-box p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.85;
}

.affiliations-section {
    padding: 80px 50px;
    background: #f5f1ed;
}

.affiliations-container {
    max-width: 900px;
    margin: 0 auto;
}

.affiliations-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.affiliations-list li {
    font-size: 16px;
    padding: 15px 20px;
    background: rgba(201, 155, 138, 0.1);
    border-left: 4px solid #c99b8a;
    border-radius: 8px;
    transition: all 0.3s;
}

.affiliations-list li:hover {
    background: rgba(201, 155, 138, 0.2);
    transform: translateX(10px);
}

.contact-section {
    padding: 120px 50px;
    background: #e8ddd5;
}

.contact-container-centered {
    max-width: 800px;
    margin: 0 auto;
}

.faq {
    background: rgba(245, 241, 237, 0.7);
    padding: 50px;
    border-radius: 25px;
}

.faq h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #5a4a42;
    text-align: center;
}

.faq-accordion {
    margin-bottom: 15px;
}

.faq-question {
    padding: 18px 0;
    border-bottom: 1px solid rgba(90, 74, 66, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.faq-question:hover {
    padding-left: 10px;
    color: #c99b8a;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 0 0 30px !important;
    opacity: 0 !important;
    transition: all 0.4s ease-out !important;
    line-height: 1.7;
    font-size: 15px;
}

.faq-answer.active {
    max-height: 500px !important;
    opacity: 1 !important;
    padding: 15px 0 20px 30px !important;
}

.faq-answer a {
    color: #c99b8a;
    text-decoration: underline;
}

.faq-answer a:hover {
    opacity: 0.8;
}

.pricing-section {
    padding: 120px 50px;
    background: #f5f1ed;
    text-align: center;
}

.pricing-section h2 {
    font-size: 42px;
    margin-bottom: 60px;
    color: #5a4a42;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.price-card {
    background: rgba(245, 241, 237, 0.8);
    padding: 50px 35px;
    border-radius: 25px;
    transition: all 0.5s;
    opacity: 0;
    transform: scale(0.9);
    animation: gentleFloat 6s ease-in-out infinite;
}

.price-card:nth-child(1) {
    animation-delay: 0s;
    background: #c99b8a;
    color: white;
}

.price-card:nth-child(1) h3,
.price-card:nth-child(1) .price {
    color: white;
}

.price-card:nth-child(2) {
    background: #e8d5c4;
    animation-delay: 2s;
}

.price-card:nth-child(2) h3,
.price-card:nth-child(2) .price {
    color: #5a4a42;
}

.price-card:nth-child(3) {
    animation-delay: 4s;
    background: #c99b8a;
    color: white;
}

.price-card:nth-child(3) h3,
.price-card:nth-child(3) .price {
    color: white;
}

.price-card:nth-child(4) {
    animation-delay: 6s;
    background: #a67c6d;
    color: white;
}

.price-card:nth-child(4) h3,
.price-card:nth-child(4) .price {
    color: white;
}

.price-card.visible {
    opacity: 1;
    transform: scale(1);
}

.price-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.price-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #5a4a42;
}

.price {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #c99b8a;
}

.duration {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.features {
    text-align: left;
    margin-bottom: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
}

.feature::before {
    content: "✓";
    color: white;
    font-weight: bold;
}

footer {
    background: #b88573;
    color: white;
    padding: 80px 50px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #c99b8a;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background: #5a4a42;
    transform: translateY(-5px);
}

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    header {
        padding: 15px 25px;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .approach-container {
        grid-template-columns: 1fr;
    }
    
    .therapy-cards {
        justify-content: center;
    }

    .therapy-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero {
        padding: 0 25px;
    }
    
    .approach-image img {
        height: 400px;
    }
    
    .therapies-section,
    .pricing-section,
    .contact-section,
    .affiliations-section,
    .approach-section {
        padding: 80px 25px;
    }
}