/* ==========================================
   FLOATING CARDS / LAYERED DESIGN
   Overlapping, stacked cards with depth
   ========================================== */

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

:root {
    /* Colors */
    --primary-color: #0EA5E9;
    --primary-dark: #0284C7;
    --primary-light: #38BDF8;
    --secondary-color: #0F172A;
    --text-dark: #1E293B;
    --text-medium: #475569;
    --text-light: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-blue-light: #E0F2FE;
    --border-color: #E2E8F0;
    --success-color: #10B981;

    /* Multi-layer shadows for floating effect */
    --shadow-float:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(14, 165, 233, 0.12),
        0 12px 24px rgba(14, 165, 233, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.06);
    --shadow-float-hover:
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(14, 165, 233, 0.15),
        0 20px 40px rgba(14, 165, 233, 0.12),
        0 40px 80px rgba(0, 0, 0, 0.08);
    --shadow-card:
        0 2px 4px rgba(0, 0, 0, 0.06),
        0 8px 16px rgba(14, 165, 233, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.04);
    --shadow-card-hover:
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 12px 24px rgba(14, 165, 233, 0.15),
        0 24px 48px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, #F8FAFC 0%, #E0F2FE 50%, #F8FAFC 100%);
    overflow-x: hidden;
    position: relative;
}

/* Decorative background elements */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-card);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-float);
    color: var(--bg-white);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   HEADER & NAVIGATION - STICKY WITH SHADOW
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-float);
    background: rgba(255, 255, 255, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    color: var(--secondary-color);
    transition: transform var(--transition-base);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3));
}

.nav-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
    transition: all var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* ==========================================
   HERO SECTION - OVERLAPPING GEOMETRIC SHAPES
   ========================================== */
.hero {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    position: relative;
    overflow: visible;
}

/* Geometric shapes background */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(25deg);
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 300px;
    height: 300px;
    background: linear-gradient(225deg, rgba(56, 189, 248, 0.12), rgba(14, 165, 233, 0.08));
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: rotate(-15deg);
    z-index: 0;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(25deg); }
    50% { transform: translateY(-30px) rotate(35deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
    line-height: 1.1;
    position: relative;
}

.hero-subtitle {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-top: var(--spacing-xs);
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-features {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-medium);
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
}

.hero-image {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transform: rotate(2deg);
    transition: all var(--transition-slow);
    object-fit: cover;
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: var(--shadow-float-hover);
}

.about-img {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    transform: rotate(2deg);
    transition: all var(--transition-slow);
}

.placeholder-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: var(--shadow-float-hover);
}

.placeholder-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   SECTIONS - ZIGZAG LAYOUT
   ========================================== */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: visible;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: var(--spacing-md) auto 0;
}

/* Decorative connecting lines */
.section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--primary-light));
    transform: translateX(-50%);
}

.section:first-of-type::before {
    display: none;
}

/* ==========================================
   ABOUT SECTION - BREAKING OUT LAYOUT
   ========================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.about-image {
    position: relative;
    margin-left: -60px;
}

.about-image .placeholder-image {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transform: rotate(-3deg);
    transition: all var(--transition-slow);
}

.about-image .placeholder-image:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: var(--shadow-float-hover);
}

.about-text {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transform: rotate(1deg);
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.about-subtitle {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-qualifications,
.about-philosophy {
    margin-top: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(56, 189, 248, 0.05));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.about-qualifications h4,
.about-philosophy h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.about-qualifications ul {
    list-style: none;
}

.about-qualifications li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

.about-qualifications li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   MOTIFS SECTION - OVERLAPPING CARDS
   ========================================== */
.motifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.motif-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transition: all var(--transition-slow);
    border: 2px solid transparent;
    position: relative;
}

.motif-card:nth-child(odd) {
    transform: rotate(-2deg);
    margin-top: 20px;
}

.motif-card:nth-child(even) {
    transform: rotate(1.5deg);
    margin-top: -10px;
}

.motif-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--shadow-float-hover);
    border-color: var(--primary-light);
    z-index: 10;
}

.motif-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
    transform: rotate(-10deg);
    transition: transform var(--transition-base);
}

.motif-card:hover .motif-icon {
    transform: rotate(0deg) scale(1.1);
}

.motif-icon svg {
    width: 36px;
    height: 36px;
    color: var(--bg-white);
}

.motif-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.motif-description {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ==========================================
   SEANCE SECTION - ALTERNATING ZIGZAG
   ========================================== */
.seance-steps {
    display: grid;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.step-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
    position: relative;
    transition: all var(--transition-slow);
}

.step-card:nth-child(odd) {
    margin-left: -40px;
    transform: rotate(-1deg);
}

.step-card:nth-child(even) {
    margin-right: -40px;
    margin-left: auto;
    transform: rotate(1deg);
}

.step-card:hover {
    box-shadow: var(--shadow-float-hover);
    transform: rotate(0deg) translateY(-5px);
    z-index: 5;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.step-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.step-description {
    color: var(--text-medium);
    line-height: 1.8;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 8px rgba(14, 165, 233, 0.2);
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.seance-info {
    margin-top: var(--spacing-xl);
}

.info-box {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-card);
    transform: rotate(-0.5deg);
    margin-left: -20px;
}

.info-box svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.info-box p {
    color: var(--text-medium);
    margin: 0;
}

/* ==========================================
   TARIFS SECTION - STACKED CARDS
   ========================================== */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.tarif-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    border: 2px solid transparent;
    transition: all var(--transition-slow);
    position: relative;
}

.tarif-card:nth-child(1) {
    transform: rotate(-2deg) translateY(10px);
}

.tarif-card:nth-child(2) {
    transform: rotate(0deg);
    z-index: 2;
}

.tarif-card:nth-child(3) {
    transform: rotate(2deg) translateY(10px);
}

.tarif-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--shadow-float-hover);
    border-color: var(--primary-light);
    z-index: 10;
}

.tarif-featured {
    border-color: var(--primary-color);
    transform: rotate(0deg) scale(1.05);
    z-index: 3;
}

.tarif-featured:hover {
    transform: rotate(0deg) scale(1.05) translateY(-10px);
}

.tarif-badge {
    position: absolute;
    top: -15px;
    right: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    transform: rotate(-3deg);
}

.tarif-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-lg);
}

.tarif-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.tarif-price {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tarif-price span {
    font-size: 1.5rem;
}

.tarif-features {
    list-style: none;
}

.tarif-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

.tarif-features svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.tarifs-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transform: rotate(-1deg);
    transition: all var(--transition-base);
}

.info-card:nth-child(even) {
    transform: rotate(1deg);
}

.info-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.info-card svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-card h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.info-card p {
    color: var(--text-medium);
    margin: 0;
}

/* ==========================================
   INFOS SECTION - LAYERED CARDS
   ========================================== */
.infos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.info-block {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transition: all var(--transition-slow);
    position: relative;
}

.info-block:nth-child(1) {
    transform: rotate(-1.5deg);
}

.info-block:nth-child(2) {
    transform: rotate(1deg);
    margin-top: -20px;
}

.info-block:nth-child(3) {
    transform: rotate(-0.5deg);
}

.info-block:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: var(--shadow-float-hover);
    z-index: 5;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
    transform: rotate(-15deg);
    transition: transform var(--transition-base);
}

.info-block:hover .info-icon {
    transform: rotate(0deg);
}

.info-icon svg {
    width: 36px;
    height: 36px;
    color: var(--bg-white);
}

.info-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.info-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.info-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.info-detail svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.horaires {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.horaire-line {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.horaire-line:last-child {
    border-bottom: none;
}

.jour {
    font-weight: 600;
    color: var(--text-dark);
}

.heures {
    color: var(--text-medium);
}

.horaire-line.closed .heures {
    color: var(--text-light);
    font-style: italic;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
    position: relative;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
}

.urgence-box {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(56, 189, 248, 0.05));
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.urgence-box svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.urgence-box p {
    margin: 0;
    color: var(--text-medium);
}

/* ==========================================
   CONTACT SECTION - OVERLAPPING LAYOUT
   ========================================== */
.contact {
    background: transparent;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-2xl);
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-card);
    transform: rotate(-2deg);
}

.contact-card:nth-child(even) {
    transform: rotate(2deg);
}

.contact-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bg-white);
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.contact-card a {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-form-container {
    background: var(--bg-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-float);
    transform: rotate(1deg);
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1),
                0 4px 12px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: var(--bg-light);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    position: relative;
    margin-top: var(--spacing-3xl);
}

.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--secondary-color));
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-text {
    color: var(--bg-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.4);
}

.footer-social svg {
    width: 22px;
    height: 22px;
    color: var(--bg-white);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--bg-light);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-list a {
    color: var(--bg-light);
    transition: all var(--transition-fast);
}

.footer-list a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-list svg {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--bg-light);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--bg-light);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-float);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px) rotate(360deg);
    box-shadow: var(--shadow-float-hover);
}

.scroll-top svg {
    width: 26px;
    height: 26px;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(2deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(2deg);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

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

    .about-image {
        margin-left: 0;
    }

    .about-text {
        margin-top: 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        margin-top: 0;
    }

    .step-card {
        grid-template-columns: auto 1fr;
    }

    .step-icon {
        display: none;
    }

    .step-card:nth-child(odd),
    .step-card:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }

    .info-box {
        margin-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: var(--spacing-2xl) 0;
    }

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

    .hero {
        padding: calc(70px + var(--spacing-xl)) 0 var(--spacing-xl);
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-features {
        flex-direction: column;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-float);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

    .motif-card:nth-child(odd),
    .motif-card:nth-child(even) {
        transform: none;
        margin-top: 0;
    }

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

    .tarif-card:nth-child(1),
    .tarif-card:nth-child(2),
    .tarif-card:nth-child(3) {
        transform: none;
    }

    .tarif-featured {
        transform: none;
    }

    .tarif-featured:hover {
        transform: translateY(-10px);
    }

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

    .info-block:nth-child(1),
    .info-block:nth-child(2),
    .info-block:nth-child(3) {
        transform: none;
        margin-top: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-number {
        margin: 0 auto var(--spacing-md);
    }

    .contact-card {
        transform: none;
    }

    .contact-form-container {
        transform: none;
    }

    .info-card {
        transform: none;
    }

    .placeholder-image {
        transform: none;
    }

    .about-image .placeholder-image {
        transform: none;
    }

    .about-text {
        transform: none;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .scroll-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .contact-form-container {
        padding: var(--spacing-lg);
    }
}
