@charset "utf-8";
/* ==========================================================================
   Candrika Yoga — style.css
   ========================================================================== */

:root {
    --primary-color: #008fa3;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.95);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-elegant: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

/* Toute image respecte son conteneur */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Aucun lien texte n'est souligné par défaut (soulignement réintroduit
   ponctuellement pour les liens dans un paragraphe, cf. .about-text a) */
a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

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

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }

.mobile-nav-links a {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-nav-links a:hover {
    transform: scale(1.05);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    height: 65vh;
    min-height: 480px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-elegant);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b4cb8 0%, #d34361 50%, #008fa3 100%);
    animation: pulse 4s ease-in-out infinite alternate;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation: floatShape1 20s ease-in-out infinite; }
.shape-2 { width: 120px; height: 120px; top: 60%; right: 15%; background: rgba(255,255,255,0.08); animation: floatShape2 25s ease-in-out infinite reverse; }
.shape-3 { width: 60px; height: 60px; top: 30%; right: 25%; background: rgba(255,255,255,0.12); animation: floatShape3 18s ease-in-out infinite; }
.shape-4 { width: 100px; height: 100px; bottom: 25%; left: 20%; background: rgba(255,255,255,0.06); border-radius: 20px; animation: floatShape4 22s ease-in-out infinite; }
.shape-5 { width: 40px; height: 40px; top: 15%; right: 40%; background: rgba(255,255,255,0.15); animation: floatShape5 16s ease-in-out infinite reverse; }
.shape-6 { width: 140px; height: 140px; bottom: 15%; right: 10%; background: rgba(255,255,255,0.04); border-radius: 30px; animation: floatShape6 28s ease-in-out infinite; }

@keyframes floatShape1 { 0%,100% { transform: translateY(0) translateX(0) rotate(0); } 25% { transform: translateY(-30px) translateX(20px) rotate(90deg); } 50% { transform: translateY(-15px) translateX(-10px) rotate(180deg); } 75% { transform: translateY(-40px) translateX(15px) rotate(270deg); } }
@keyframes floatShape2 { 0%,100% { transform: translateY(0) translateX(0) scale(1); } 33% { transform: translateY(25px) translateX(-20px) scale(1.1); } 66% { transform: translateY(-20px) translateX(25px) scale(0.9); } }
@keyframes floatShape3 { 0%,100% { transform: translateY(0) translateX(0) rotate(0); } 50% { transform: translateY(-25px) translateX(-30px) rotate(180deg); } }
@keyframes floatShape4 { 0%,100% { transform: translateY(0) translateX(0) rotate(0); } 25% { transform: translateY(20px) translateX(-15px) rotate(45deg); } 50% { transform: translateY(-10px) translateX(30px) rotate(90deg); } 75% { transform: translateY(15px) translateX(-20px) rotate(135deg); } }
@keyframes floatShape5 { 0%,100% { transform: translateY(0) translateX(0) scale(1); } 50% { transform: translateY(-35px) translateX(20px) scale(1.2); } }
@keyframes floatShape6 { 0%,100% { transform: translateY(0) translateX(0) rotate(0); } 33% { transform: translateY(-15px) translateX(10px) rotate(60deg); } 66% { transform: translateY(10px) translateX(-25px) rotate(120deg); } }
@keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 0.8; } }

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content .logo img {
    max-width: 340px;
    width: 100%;
    margin: 0 auto 1.5rem;
}

/* .hero-tagline : utilisé sur les pages secondaires (à propos, mentions
   légales) à la place du <h1> pour éviter d'avoir le même H1 sur 3 pages */
.hero h1,
.hero .hero-tagline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
    line-height: 1.3;
    letter-spacing: -1px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border-radius: 25px;
    cursor: pointer;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ==========================================================================
   Titres de section
   ========================================================================== */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 4rem;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    background: url('images/photo_sophie-profil.jpg') center/cover;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 0.7;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text h6 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Liens dans un paragraphe : identifiables sans être soulignés en
   permanence (couleur distincte + soulignement au survol uniquement) */
.about-text a,
.ateliers-text a {
    color: var(--primary-color);
    font-weight: 600;
}

.about-text a:hover,
.ateliers-text a:hover {
    text-decoration: underline;
}

.skills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Ateliers & stages — texte à gauche, photo à droite
   ========================================================================== */
.ateliers-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.ateliers-text h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ateliers-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ateliers-text h6 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.session-steps {
    text-align: center;
    margin-top: 5rem;
}

.session-steps h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.session-steps .skills {
    justify-content: center;
}

.ateliers-image {
    width: 100%;
    height: 400px;
    background: url('images/photo_ateliers.jpg') center/cover;
    border-radius: 30px;
    box-shadow: var(--shadow-2xl);
    transform: rotate(2deg);
    transition: transform 0.4s ease;
}

.ateliers-image:hover {
    transform: rotate(0deg) scale(1.02);
}

@media (max-width: 1024px) {
    .ateliers-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ateliers-image {
        height: 300px;
    }
}

/* ==========================================================================
   Planning & tarifs
   ========================================================================== */
.planning {
    background: linear-gradient(135deg, #fed47a 0%, #edf7fb 50%, #edf7fb 100%);
    position: relative;
}

.planning .contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.planning .section-title {
    margin-bottom: 3rem;
}

.planning h4 {
    text-align: center;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 800px;
    margin: 3rem auto 0;
}

/* ==========================================================================
   Divider (image salutation au soleil)
   ========================================================================== */
#divider {
    background: var(--bg-card);
    padding: 1rem 0;
}

#divider .divider {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

#divider .divider img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Portfolio / cartes (planning, tarifs, ateliers)
   ========================================================================== */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.portfolio-item {
    width: 100%;
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-content h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-tag a {
    display: block;
    padding: 0.4rem 1rem;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    background: linear-gradient(135deg, #3b4cb8 0%, #d34361 50%, #008fa3 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact .section-title {
    color: var(--text-light);
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact h3 {
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact h4 {
    font-weight: 400;
    line-height: 2;
}

.social {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social a:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #008fa3;
    color: var(--text-light);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: var(--text-light);
}

/* ==========================================================================
   Animations au scroll
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .about-image {
        height: 350px;
    }

    .hero {
        height: 60vh;
        min-height: 420px;
    }

    .hero-content .logo img {
        max-width: 260px;
    }

    .hero h1,
    .hero .hero-tagline {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero h1,
    .hero .hero-tagline {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 5rem 0;
    }

    .about-text h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .hero .hero-tagline {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container,
    .container {
        padding: 0 1rem;
    }

    .about-image {
        height: 280px;
    }
}