@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- variables --- */
:root {
    --primary: #008fff;
    --primary-dark: #006ec4;
    --primary-light: #e0f2fe;
    --secondary: #2B6CB0;
    --secondary-dark: #215387;
    
    --accent: #ff972f;
    --accent-dark: #e07a1b;
    --accent-light: #ffedd5;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --border-color: #e2e8f0;
    --border-color-hover: #cbd5e1;
    
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-medium);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.text-gradient-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition);
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary-light);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-dark);
}

.brand-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    min-width: 220px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* --- Hero Section --- */
.hero-section {
    padding: 5rem 0 4rem 0;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-logo-large {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--bg-card);
    animation: float 6s ease-in-out infinite;
}

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

/* --- Presentation & Publics Section --- */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.info-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Keyword & Public Cards */
.card-identity {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-identity:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.keywords-badge-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.keyword-badge {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
}

.publics-list {
    list-style: none;
    margin-top: 1rem;
}

.publics-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
}

.publics-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
}

/* Beach footprint photo frame */
.image-frame-container {
    position: relative;
}

.beach-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--bg-card);
}

.photo-caption {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Decorative background shapes */
.shape-blob {
    position: absolute;
    background-color: var(--accent-light);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -20px;
}

/* --- Objectives Section --- */
.bg-light-blue {
    background-color: var(--primary-light);
    opacity: 0.95;
    position: relative;
}

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

.objective-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
}

.objective-card:nth-child(2) {
    border-top-color: var(--accent);
}

.objective-card:nth-child(3) {
    border-top-color: var(--secondary);
}

.objective-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.obj-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.15;
}

.objective-card:nth-child(1) .obj-number { color: var(--primary); }
.objective-card:nth-child(2) .obj-number { color: var(--accent); }
.objective-card:nth-child(3) .obj-number { color: var(--secondary); }

.objective-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.objective-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    flex-grow: 1;
}

/* --- Quote Section --- */
.quote-section {
    padding: 6rem 0;
    background-color: var(--bg-page);
    position: relative;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--accent);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-light);
    font-family: Georgia, serif;
    line-height: 1;
    user-select: none;
}

.quote-text {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Panoramic Banner --- */
.panoramic-banner {
    height: 350px;
    background-image: url('images/chemin2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 143, 255, 0.4), rgba(43, 108, 176, 0.2));
}

/* For fallback if fixed background isn't supported on mobile */
@media (max-width: 768px) {
    .panoramic-banner {
        background-attachment: scroll;
        height: 200px;
    }
}

/* --- Call To Action Section --- */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 151, 47, 0.1) 100%);
}

.cta-box {
    max-width: 750px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: #cbd5e1;
    padding: 4rem 0 2rem 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

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

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

.contact-info-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-list a {
    color: inherit;
}

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

.linkedin-badge-wrapper {
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.linkedin-badge-wrapper:hover {
    transform: scale(1.05);
}

.linkedin-logo-img {
    width: 120px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-full);
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #94a3b8;
}

.footer-bottom a:hover {
    color: var(--text-white);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .info-grid {
        gap: 2rem;
    }
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0.75rem 1rem;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
        display: block;
        opacity: 1;
        transform: none;
        min-width: unset;
        background-color: transparent;
    }
    
    .dropdown-toggle svg {
        transform: rotate(90deg);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-logo-large {
        width: 240px;
        height: 240px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Custom Prestations Styles --- */
.notice-card {
    background-color: var(--accent-light);
    border: 1px solid var(--accent);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.notice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-badge-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-sub {
    font-size: 0.95rem;
    opacity: 0.9;
}

.prestations-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.prestations-gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-card);
    transition: var(--transition);
}

.prestations-gallery-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.modalities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.modality-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.modality-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modality-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .prestations-gallery {
        grid-template-columns: 1fr;
    }
    
    .modalities-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Timeline Styles for Diplômes & Formations --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-page);
    border: 4px solid var(--primary);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item.diploma::before {
    border-color: var(--accent);
}

.timeline-item:hover::before {
    transform: scale(1.2);
    background-color: var(--primary-light);
}

.timeline-item.diploma:hover::before {
    background-color: var(--accent-light);
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.timeline-item.diploma .timeline-date {
    background-color: var(--accent-light);
    color: var(--accent-dark);
}

.timeline-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.timeline-item.diploma .timeline-content:hover {
    border-color: var(--accent);
}

.timeline-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.timeline-institution {
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Details & Summary Styling */
.modules-details {
    margin-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.modules-summary {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    outline: none;
    user-select: none;
    transition: var(--transition);
}

.modules-summary:hover {
    color: var(--primary-dark);
}

.modules-summary::-webkit-details-marker {
    display: none;
}

.modules-list-container {
    margin-top: 1rem;
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    list-style: none;
}

.modules-grid li {
    font-size: 0.85rem;
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-medium);
}

.modules-grid li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-item::before {
        left: 5px;
    }
}


