/*
Theme Name: Mon Souffle Sophro
Theme URI: https://mon-souffle-sophro.fr
Author: Mon Souffle Sophro
Author URI: https://mon-souffle-sophro.fr
Description: Theme personnalise pour le cabinet de sophrologie Mon Souffle Sophro a Richardmenil
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mon-souffle-sophro
*/

:root {
    --beige-50: #fdfcfb;
    --beige-100: #f8f5f1;
    --beige-200: #f0e9df;
    --beige-300: #e8ddc8;
    --beige-400: #d4c4a8;
    --beige-500: #c0ad8f;
    --beige-600: #a89370;
    --sage-100: #e8ede8;
    --sage-300: #c5d4c5;
    --sage-500: #8ba888;
    --terracotta: #d4a484;
    --warm-white: #fffef9;
    --shadow-soft: rgba(160, 140, 110, 0.08);
    --shadow-medium: rgba(160, 140, 110, 0.12);
}

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

body {
    font-family: 'Lora', serif;
    background-color: var(--warm-white);
    color: #3a3a3a;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 5%;
    box-shadow: 0 2px 20px var(--shadow-soft);
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 2px 30px var(--shadow-medium);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--beige-600);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: #5a5a5a;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--beige-500);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--beige-600);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item a::after {
    width: 100%;
}

.nav-links .current-menu-item a {
    color: var(--beige-600);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--beige-600);
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--beige-500);
    color: white;
    box-shadow: 0 4px 15px rgba(192, 173, 143, 0.3);
}

.btn-primary:hover {
    background: var(--beige-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192, 173, 143, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--beige-600);
    border: 2px solid var(--beige-400);
}

.btn-secondary:hover {
    background: var(--beige-100);
    border-color: var(--beige-500);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-100) 0%, var(--sage-100) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(200, 173, 143, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 30px) rotate(5deg); }
    66% { transform: translate(30px, -30px) rotate(-5deg); }
}

.hero-content {
    max-width: 1200px;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--beige-600);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-text h1 strong {
    font-weight: 600;
    display: block;
    color: var(--sage-500);
}

.hero-text p {
    font-size: 1.2rem;
    color: #6a6a6a;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image {
    position: relative;
    animation: fadeIn 1s ease 0.8s both;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
}

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

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 1.5s;
}

.floating-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--beige-600);
    margin-bottom: 0.3rem;
}

.floating-card p {
    color: #7a7a7a;
    font-size: 0.9rem;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--warm-white);
}

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

.about-image {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #5a5a5a;
    font-size: 1.05rem;
}

.benefits {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--sage-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--beige-600);
    margin-bottom: 0.3rem;
}

.benefit-text p {
    margin: 0;
    font-size: 0.95rem;
}

/* Services Preview */
.services-preview {
    padding: 8rem 5%;
    background: linear-gradient(to bottom, var(--beige-100), var(--warm-white));
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.services-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.1rem;
    color: #6a6a6a;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--beige-400), var(--sage-300));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--beige-100);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--beige-600);
    margin-bottom: 1rem;
}

.service-card p {
    color: #6a6a6a;
    margin-bottom: 1.5rem;
}

.service-card .learn-more {
    color: var(--beige-600);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card .learn-more:hover {
    gap: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 8rem 5%;
    background: var(--sage-100);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 5rem;
}

.testimonials-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--beige-300);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #5a5a5a;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--beige-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--beige-600);
}

.author-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--beige-600);
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #8a8a8a;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: var(--warm-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: #6a6a6a;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--sage-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--beige-600);
    margin-bottom: 0.3rem;
}

.contact-text p {
    margin: 0;
    color: #6a6a6a;
}

.contact-text a {
    color: var(--beige-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--sage-500);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--beige-600);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--beige-200);
    border-radius: 12px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--beige-400);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--beige-500);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 173, 143, 0.3);
}

.submit-btn:hover {
    background: var(--beige-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192, 173, 143, 0.4);
}

/* Footer */
footer {
    background: var(--beige-600);
    color: var(--warm-white);
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Page Specific */
.services-page {
    padding-top: 120px;
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--beige-100), var(--warm-white));
}

.services-page-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 5%;
    animation: fadeInUp 0.8s ease;
}

.services-page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.services-page-header p {
    font-size: 1.2rem;
    color: #6a6a6a;
    line-height: 1.8;
}

.services-intro {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 5%;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.intro-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.intro-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.intro-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--beige-600);
    margin-bottom: 0.8rem;
}

.intro-card p {
    color: #6a6a6a;
    font-size: 0.95rem;
}

/* Booking Section */
.booking-section {
    max-width: 1400px;
    margin: 0 auto 5rem;
    padding: 0 5%;
}

.booking-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.booking-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--beige-600);
    margin-bottom: 1rem;
}

.booking-intro p {
    font-size: 1.1rem;
    color: #6a6a6a;
}

.iframe-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-medium);
    overflow: hidden;
    min-height: 900px;
    position: relative;
    animation: fadeIn 1s ease 0.3s both;
}

.iframe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--beige-400), var(--sage-300), var(--terracotta));
}

.iframe-container iframe {
    width: 100%;
    height: 900px;
    border: none;
    display: block;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--sage-100), var(--beige-100));
    padding: 3rem 5%;
    margin-top: 5rem;
}

.info-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.info-item {
    text-align: center;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 20px var(--shadow-soft);
}

.info-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--beige-600);
    margin-bottom: 0.8rem;
}

.info-item p {
    color: #6a6a6a;
    line-height: 1.6;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(253, 252, 251, 0.98);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu ul li {
    margin: 1.5rem 0;
}

.mobile-menu ul li a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--beige-600);
    text-decoration: none;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--beige-600);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero {
        height: auto;
        padding: 8rem 0 5rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .services-header h2,
    .testimonials-header h2 {
        font-size: 2.5rem;
    }

    .services-page-header h1 {
        font-size: 3rem;
    }

    .booking-intro h2 {
        font-size: 2.5rem;
    }

    .iframe-container,
    .iframe-container iframe {
        min-height: 800px;
        height: 800px;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .services-page-header h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        text-align: center;
    }

    .iframe-container,
    .iframe-container iframe {
        min-height: 700px;
        height: 700px;
    }

    .intro-cards {
        grid-template-columns: 1fr;
    }

    .about-text h2,
    .contact-info h2 {
        font-size: 2.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page transitions */
.page {
    animation: pageEnter 0.5s ease;
}

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

/* WordPress specific overrides */
.wp-block-button__link {
    background: var(--beige-500) !important;
    border-radius: 50px !important;
}

.entry-content a {
    color: var(--beige-600);
}

/* Contact Form 7 styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    padding: 1rem;
    border: 2px solid var(--beige-200);
    border-radius: 12px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    background: var(--warm-white);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--beige-400);
    background: white;
}

.wpcf7-form input[type="submit"] {
    background: var(--beige-500);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 173, 143, 0.3);
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--beige-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(192, 173, 143, 0.4);
}
