/* 
   Hatha Coaching Design System - Hybrid Version 
   Base: V1 (Minimalist Structure) + V2 (Warmth/Terracotta)
*/

:root {
    /* --- COLOR PALETTE --- */
    /* V1 Base */
    --color-bg: #FFFFFF;
    --color-text-main: #1E3A5F;
    /* Deep Blue "Encre" */
    --color-text-light: #4A5568;

    /* V2 Accents */
    --color-accent: #C85A17;
    /* Terracotta */
    --color-accent-hover: #A04510;
    --color-bg-secondary: #F5F5F5;
    /* Warm Grey for sections */

    /* Shapes */
    --border-radius-sm: 4px;
    --border-radius-pill: 50px;
    /* V2 Influence */

    /* Spacing (V1 Influence - Radical Whitespace) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --container-width: 1200px;
}

/* --- TYPOGRAPHY --- */
/* Imported in HTML: Playfair Display (V1) + Inter (V1) */
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    /* Increased space below H1 */
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Skip Link pour accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-intro-centered {
    max-width: 800px;
    margin-bottom: 4rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.grid-3 {
    display: flex;
    /* Changed from Grid to Flex for centering 5 items */
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
}

.grid-3>* {
    flex: 0 1 350px;
    /* Base width */
}

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

.section-bg {
    background-color: var(--color-bg-secondary);
}

/* --- COMPONENTS --- */

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: block;
    height: 80px;
    /* Header Logo */
    width: auto;
    flex-shrink: 0;
}

/* Footer Logo Specific */
.site-footer .logo {
    height: 80px !important;
    /* Same size as header logo */
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

/* Dropdown Menu - Nano Clean Style (Updated) */
/* --- Navigation Dropdown --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content a {
    color: var(--color-text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--color-bg-secondary);
    color: var(--color-accent);
}

.dropdown:hover .dropdown-content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Pricing Grid Refinements - Nano Premium */
/* --- Pricing Cards (Nano Banana Premium) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    /* Nano shadow */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent);
}

.pricing-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.price {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin: 1.5rem 0;
    display: block;
}

.price span {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-light);
    font-weight: 400;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.pricing-card.featured {
    border: 1px solid var(--color-accent);
    background: linear-gradient(to bottom, #fff, #fffbf0);
}

/* --- Leadership Modules Specifics --- */
.module-card {
    background: #fff;
    padding: 2.5rem;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.module-card:hover {
    background: var(--color-bg-secondary);
    transform: translateX(5px);
}

.module-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.module-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Footer Logo Fix --- */
.footer-col .logo img {
    height: 80px;
    /* Match header logo height */
    width: auto;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility for generic centering */
.text-center {
    text-align: center;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    /* Ensure vertical alignment */
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 90, 23, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
}

.btn-secondary:hover {
    background-color: var(--color-text-main);
    color: white;
}

/* Hero */
.hero {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    /* Increased from 0.85rem */
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
    /* Bolder */
}

/* Services Cards */
.service-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    /* Mix V1/V2 */
    transition: transform 0.3s ease;
    border-bottom: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--color-accent);
}

.service-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

/* About Section */
.about-grid {
    align-items: center;
    gap: var(--spacing-xl);
}

.about-img {
    width: 100%;
    height: 100%;
    /* Fill the grid cell height */
    min-height: 400px;
    /* Ensure visual weight on mobile */
    object-fit: cover;
    /* Ensure crop */
    border-radius: var(--border-radius-sm);
    filter: grayscale(100%);
    /* Maintain effect */
}

/* Footer */
.site-footer {
    background-color: var(--color-text-main);
    color: white;
    padding: var(--spacing-xl) 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.footer-link:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

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

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Button Link Style */
.btn-link {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

.btn-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}