/* ==========================================
   CHARLES TENIER CONSULTING - CSS FINAL
   main/static/main/css/style.css
   ========================================== */

/* ==========================================
   1. VARIABLES & RESET
   ========================================== */
:root {
    --pink: #ff66c4;
    --yellow: #ffdc81;
    --green: #bdffaf;
    --cyan: #0cedf0;
    --purple: #9b91fd;
    --dark: #333333;
    --light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* ==========================================
   2. UTILITY CLASSES
   ========================================== */
.text-pink { color: var(--pink) !important; }
.bg-pink { background-color: var(--pink) !important; }
.bg-gradient-pink { 
    background: linear-gradient(135deg, var(--pink), var(--purple)) !important;
}

/* ==========================================
   3. BUTTONS
   ========================================== */
.btn-pink {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 102, 196, 0.3);
    color: white;
}

.btn-outline-pink {
    border: 2px solid var(--pink);
    color: var(--pink);
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-pink:hover {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
    transform: translateY(-2px);
}

/* ==========================================
   4. NAVBAR & LOGO
   ========================================== */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-name {
    line-height: 1.2;
}

.logo-name strong {
    font-size: 0.95rem;
    display: block;
    font-weight: 800;
}

.logo-name .text-pink {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--pink) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.85), rgba(155, 145, 253, 0.85));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    50% { 
        transform: translateX(-50%) translateY(-15px); 
    }
}

/* ==========================================
   6. SECTION TITLES & BADGES
   ========================================== */
.badge.bg-pink {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 800;
}

/* ==========================================
   7. SERVICE CARDS
   ========================================== */
.service-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 102, 196, 0.2) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

/* ==========================================
   8. PAGE HEADER (Services, Contact)
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item a {
    text-decoration: none;
}

.service-icon-header {
    font-size: 6rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================
   9. SERVICE DETAIL PAGE
   ========================================== */
.service-placeholder-image,
.service-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    position: relative;
    overflow: hidden;
}

.service-placeholder-image::before,
.service-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-placeholder::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.service-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-description {
    color: #555;
}

.service-description p {
    margin-bottom: 1.5rem;
}

/* Sticky Sidebar */
/* Dans style.css, remplacez la section sticky */
@media (min-width: 992px) {
    .sticky-top {
        position: sticky;
        top: 20px;  /* Changez de 100px à 20px */
        z-index: 100;
    }
    
    /* Pour la navbar */
    .navbar.sticky-top {
        top: 0 !important;
        z-index: 1030 !important;  /* Plus haut que la sidebar */
    }
}
/* List Group Item Hover */
.list-group-item-action {
    transition: all 0.3s ease;
}

.list-group-item-action:hover {
    background-color: rgba(255, 102, 196, 0.05);
}

.list-group-item-action:hover .bi-chevron-right {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Check Icon Animation */
.bi-check2 {
    animation: checkmark 0.5s ease-in-out;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================================
   10. CONTACT CARDS
   ========================================== */
.contact-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 102, 196, 0.15) !important;
}

.contact-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.1), rgba(155, 145, 253, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-box {
    background: linear-gradient(135deg, var(--pink), var(--purple));
}

.contact-card:hover .contact-icon-box i {
    color: white !important;
}

.contact-info-card a {
    color: var(--dark);
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--pink);
}

/* ==========================================
   11. NEWSLETTER SECTION
   ========================================== */
.newsletter-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.95), rgba(155, 145, 253, 0.95));
    z-index: 1;
}

.newsletter-section .container {
    position: relative;
    z-index: 2;
}

.newsletter-section .form-control:focus {
    border-color: white;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* ==========================================
   12. STATISTICS / CIRCULAR PROGRESS
   ========================================== */
.circular-progress {
    position: relative;
    display: inline-block;
}

.circular-progress svg {
    transform: rotate(-90deg);
}

.circular-progress circle {
    transition: stroke-dashoffset 1s ease-in-out;
}

/* ==========================================
   13. FOOTER
   ========================================== */
.footer {
    background: var(--dark);
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--pink);
}

.footer .btn-outline-light {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer .btn-outline-light:hover {
    background: var(--pink);
    border-color: var(--pink);
    transform: translateY(-3px);
}

/* ==========================================
   14. FORMS
   ========================================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 196, 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ==========================================
   15. TOAST NOTIFICATIONS
   ========================================== */
.toast {
    backdrop-filter: blur(10px);
}

.toast-body {
    font-weight: 600;
}

/* ==========================================
   16. CARDS GENERAL
   ========================================== */
.card {
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================
   17. ROUNDED CORNERS
   ========================================== */
.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

/* ==========================================
   18. IMAGES
   ========================================== */
.img-fluid {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================
   19. ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__delay-1s {
    animation-delay: 0.3s;
}

.animate__delay-2s {
    animation-delay: 0.6s;
}

/* ==========================================
   20. SHADOWS
   ========================================== */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* ==========================================
   21. RESPONSIVE DESIGN
   ========================================== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .display-1 {
        font-size: 4rem;
    }
    
    .service-icon-header {
        font-size: 4rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .display-1 {
        font-size: 3rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .service-icon-header {
        font-size: 3rem;
        margin-top: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-4, .display-5 {
        font-size: 1.75rem;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-name strong {
        font-size: 0.8rem;
    }
    
    .logo-name .text-pink {
        font-size: 0.7rem;
    }
    
    .service-placeholder-image,
    .service-placeholder {
        height: 300px;
    }
    
    .service-icon-header {
        font-size: 2.5rem;
    }
    
    .page-header::before {
        width: 300px;
        height: 300px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-icon-box {
        width: 60px;
        height: 60px;
    }
}

/* ==========================================
   22. PRINT STYLES
   ========================================== */
@media print {
    .navbar,
    .footer,
    .scroll-indicator,
    .btn {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
    }
}

/* ==========================================
   23. ACCESSIBILITY
   ========================================== */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-pink {
        background: var(--pink);
        border: 2px solid var(--dark);
    }
    
    .text-pink {
        color: #d1006f !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   24. UTILITIES ADDITIONNELLES
   ========================================== */
.bg-light-pink {
    background-color: rgba(255, 102, 196, 0.05) !important;
}

.border-pink {
    border-color: var(--pink) !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

/* Spacing utilities */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
}

/* ==========================================
   PAGE CONTACT
   ========================================== */

/* Header Contact */
.contact-header {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    position: relative;
    min-height: 60vh;
}

.contact-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="1000" cy="400" r="200" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.min-vh-50 {
    min-height: 50vh;
}

.contact-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.contact-illustration {
    font-size: 15rem;
    text-align: center;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* Wave decoration */
.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Formulaire */
.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 0.25rem rgba(255, 102, 196, 0.15);
}

.form-control-lg {
    font-size: 1rem;
    padding: 1rem 1.25rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Contact Info Items */
.contact-info-item {
    padding-bottom: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.1), rgba(155, 145, 253, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--pink);
}

.contact-info-item a {
    color: var(--dark);
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--pink);
}

/* Map Container */
.map-container {
    position: relative;
    height: 450px;
    background: var(--light);
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    padding: 2rem;
}

/* Accordion FAQ */
.accordion-button {
    background: white;
    border-radius: 1rem !important;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 102, 196, 0.1), rgba(155, 145, 253, 0.1));
    color: var(--pink);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--pink);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff66c4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.8;
}

/* Social Icons */
.btn-light.rounded-circle {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-light.rounded-circle:hover {
    background: white !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-header {
        min-height: auto;
    }
    
    .contact-illustration {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .contact-stat {
        padding: 0.75rem;
    }
    
    .contact-stat h3 {
        font-size: 1.5rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .contact-header {
        padding-top: 2rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .contact-stat {
        margin-bottom: 1rem;
    }
    
    .wave-bottom svg {
        height: 40px;
    }
}

