/*
 * CrenoSpace - Landing Page CSS
 * Color Palette matching Dashboard:
 * Primary: #1D4ED8 (blue-600)
 * Accent: #2563EB (blue-500)
 * Success: #22C55E (green)
 * Background: #F4F6FB (light gray)
 * Surface: #FFFFFF (white)
 * Text: #111827 (dark)
 * Muted: #6B7280 (gray)
 */

/* ==================== BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #111827;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 40%, #e5e7eb 100%);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
}

/* ==================== HEADER ==================== */
.header {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 12px rgba(29, 78, 216, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    
}

.header .navbar {
    padding: 0;
}

.navbar-brand img {
 display: block !important;
  width: auto !important;
  max-height: 75px !important;
  object-fit: contain !important;
}

.header .nav-link {
    color: #1D4ED8 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.header .nav-link:hover {
    color: #3b82f6 !important;
}

/* Burger menu (navbar-toggler) - caché par défaut, visible en mobile */
.header .navbar-toggler {
    display: none; /* Caché sur desktop et tablette */
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 2px solid #1D4ED8;
    border-radius: 8px;
    background: transparent;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.header .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

/* 3 barres du burger */
.header .navbar-toggler span {
    width: 100%;
    height: 2px;
    background: #1D4ED8;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation burger -> X */
.header .navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header .navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header .navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== TABLETTE (768px - 992px) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {


  .header .navbar > .container{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    position:relative; /* ancre pour le dropdown */
  }

  /* Burger visible - spécificité élevée pour surcharger Bootstrap */
  .header .navbar.navbar-expand-lg .navbar-toggler{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    flex-direction:column !important;
    justify-content:space-around !important;
    order:3;
    margin-left:10px !important;
    width:40px !important;
    height:40px !important;
    padding:8px !important;
    border:2px solid #1D4ED8 !important;
    border-radius:8px !important;
    background:#fff !important;
    z-index:100 !important;
  }

  .header .navbar-toggler span{
    display:block !important;
    width:100% !important;
    height:3px !important;
    background:#1D4ED8 !important;
    border-radius:2px !important;
  }

  /* Lien nav toujours visibles */
  .header .navbar-collapse{
    display:flex !important;     /* on force visible */
    flex-basis:auto !important;
    flex-grow:0 !important;
    order:2;
    margin-left:auto;
    position:static !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
  }

  .header .navbar-nav{
    flex-direction:row !important;
    align-items:center !important;
  }

  .header .nav-link:not(.btn-login):not(.btn-cta){
    
    font-size:17px !important;
  }

  /* --- Boutons cachés par défaut (sans fond individuel) --- */
  .header .nav-item:has(.btn-login),
  .header .nav-item:has(.btn-cta){
    display:none !important;
    position:absolute;
    top:calc(100% + 20px);
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0;
    padding:0;
    z-index:1001;
    white-space:nowrap;
  }

  /* Positionnement côte à côte dans la dropdown */
  .header .nav-item:has(.btn-login){ right:190px; }
  .header .nav-item:has(.btn-cta){ right:20px; }

  /* --- Quand burger ouvert --- */
  .header .navbar-collapse.show .nav-item:has(.btn-login),
  .header .navbar-collapse.show .nav-item:has(.btn-cta){
    display:block !important;
  }

  /* Fond unique de la dropdown via ::before sur le premier bouton */
  .header .navbar-collapse.show .nav-item:has(.btn-login)::before{
    content:'';
    position:absolute;
    top:-12px;
    left:-12px;
    width:315px; /* largeur pour couvrir les 2 boutons */
    height:calc(100% + 24px);
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    border-radius:10px;
    z-index:-1;
  }

  .sticky-header{ height:auto !important; }

  /* 1) Important : éviter que le fond soit clip / passe derrière */
.header .navbar,
.header .navbar > .container,
.header .navbar-collapse,
.header .navbar-nav {
  overflow: visible !important;
}

/* 2) Quand burger ouvert : le 1er li doit créer un "contexte" pour son ::before */
.header .navbar-collapse.show .nav-item:has(.btn-login){
  position: absolute;         /* tu l'as déjà, je le répète ici pour être sûr */
  z-index: 1001;              /* ok */
  isolation: isolate;         /* 🔥 clé : garde le ::before derrière le contenu, mais au-dessus du reste */
}

/* 3) Ton fond unique : mets-le à z-index:0 (pas -1) + children à z-index:1 */
.header .navbar-collapse.show .nav-item:has(.btn-login)::before{
  z-index: 0;                 /* au lieu de -1 */
  pointer-events: none;       /* pour ne jamais bloquer les clics */
}

/* 4) Les boutons AU-DESSUS du fond */
.header .navbar-collapse.show .nav-item:has(.btn-login) .btn-login,
.header .navbar-collapse.show .nav-item:has(.btn-cta) .btn-cta{
  position: relative;
  z-index: 1;
}

}


/* ===== MOBILE (< 768px) - Menu burger ===== */
@media (max-width: 767px) {
    /* Afficher le burger en mobile */
    .header .navbar-toggler {
        display: flex;
    }

    .header .navbar-collapse {
        background: #ffffff;
        padding: 1rem 0;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .header .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(29, 78, 216, 0.1);
    }

    .header .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .header .btn-login,
    .header .btn-cta {
        width: calc(100% - 42px);
        margin: 0.5rem 16px;
        padding: 0.75rem 1.5rem !important;
        text-align: center;
        display: block;
        border: solid;
    }

    .header .navbar-nav {
        align-items: stretch;
        padding: 0 16px;
    }
}


/* ==================== HERO SECTION ==================== */
.hero {
    background: #3b82f6;
    color: #FFFFFF;
    padding: 5rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E0ECFF;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ==================== LAPTOP MOCKUP ==================== */
.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.laptop-screen {
    position: relative;
    background: #FFFFFF;
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 0;
    box-shadow:
        0 0 0 2px #E5E7EB,
        0 20px 60px rgba(0, 0, 0, 0.15);
}

.laptop-screen::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #D1D5DB;
    border-radius: 50%;
}

.laptop-screen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.laptop-base {
    position: relative;
    height: 20px;
    background: linear-gradient(to bottom, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 0 0 8px 8px;
    box-shadow:
        0 0 0 2px #D1D5DB,
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.laptop-base::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 8px;
    background: linear-gradient(to bottom, #E5E7EB 0%, transparent 100%);
    border-radius: 0 0 50% 50%;
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

/* Animation au hover */
.laptop-mockup:hover .laptop-screen {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.laptop-mockup:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background:#FFFFFF;
    color:#3b82f6;
    border-color: #FFFFFF;
}

.btn-primary:hover {
     background:#FFFFFF;
    color:#3b82f6;
    border-color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline {
    background: #1D4ED8;
    color: #FFFFFF;
    border: 2px solid#1D4ED8;
}

.btn-outline:hover {
       transform: translateY(-2px);
color: #FFFFFF;
    text-decoration: none;
}

.btn-login {
    background:#FFFFFF  !important;
    color: #1D4ED8!important;
    border-color: #1D4ED8 ;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    margin-right: 10px;
}

.btn-login:hover {
   
    transform: translateY(-2px);
}

.btn-cta {
    background: #1D4ED8 !important;
    color:#FFFFFF !important;
    border-color:#1D4ED8 !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

.btn-cta:hover {
   
    transform: translateY(-2px);
}

/* Outline button variant for pricing cards (blue on white background) */
.pricing-card .btn-outline {
    background: #1D4ED8;
    color: white;
    border: 2px solid #1D4ED8;
}

.pricing-card .btn-outline:hover {
    background: #3b82f6;
    color: #FFFFFF;
}

.btn-block {
    width: 100%;
    background: #1D4ED8;
    color:white;
    border-color:#1D4ED8

}

.btn-block:hover {
       transform: translateY(-2px);
       background-color: #1D4ED8 !important;
       color: white;


}

/* ==================== SECTIONS ==================== */
.features {
    padding: 5rem 0;
    background: #F8F9FA;
}

.pricing {
    padding: 5rem 0;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6B7280;
}

/* ==================== FEATURES ==================== */
.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #3b82f6;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.feature-card p {
    color: #6B7280;
    font-size: 1rem;
}

/* ==================== HOW IT WORKS ==================== */
.hiw-section {
    background: #F8F9FA;
    padding: 5rem 0;
}

.hiw-step {
    text-align: center;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hiw-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #E8F0FE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hiw-icon-wrapper i {
    font-size: 36px;
    color: #3b82f6;
}

.hiw-step-number {
    width: 40px;
    height: 40px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 18px;
}

.hiw-step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000;
}

.hiw-step-text {
    color: #6C757D;
    font-size: 15px;
    line-height: 1.6;
}

/* Detailed Guide Section */
.hiw-detailed-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.hiw-detailed-number {
    background: #2563EB;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin-right: 20px;
    margin-bottom: 0;
    vertical-align: top;
}

.hiw-detailed-title {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111827;
    vertical-align: top;
    max-width: calc(100% - 80px);
    line-height: 60px;
}

.hiw-detailed-text {
    color: #6C757D;
    line-height: 1.8;
    margin-bottom: 15px;
}

.hiw-detailed-list {
    color: #6C757D;
    line-height: 1.8;
    margin-left: 50px;
}

.hiw-icon-placeholder {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.hiw-icon-placeholder i {
    font-size: 120px;
    color: #2563EB;
    opacity: 0.2;
}

/* Screenshot Styles */
.hiw-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.hiw-page-header {
    padding: 3rem 0;
    min-height: 300px;
}

.hiw-page-title {
    font-size: 2.5rem;
}

.hiw-footer-subtext {
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ==================== FAQ ==================== */
.faq-section {
    background: #F8F9FA;
    padding: 80px 0;
}

.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
}

.faq-question i {
    color:#3b82f6;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #6C757D;
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer p {
    padding-bottom: 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


/* ==================== PRICING ==================== */

.pricing-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #1D4ED8;
    box-shadow: 0 4px 16px rgba(29,78,216,0.15);
    padding-top: 48px;
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1D4ED8;
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 16px;
}

.price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1D4ED8;
}

.price .period {
    font-size: 1rem;
    color: #6B7280;
}

.plan-base-features {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 12px;
    padding: 8px;
    background: #F9FAFB;
    border-radius: 6px;
}

.plan-base-features i {
    color: #22C55E;
    margin-right: 6px;
}

.plan-base-features a {
    color: #1D4ED8;
    text-decoration: underline;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.features-list li {
    padding: 8px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.9rem;
    color: #111827;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li i {
    color: #22C55E;
    margin-right: 8px;
}

.pricing-card .btn-card {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: #1D4ED8;
    color:white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.pricing-card .btn-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.pricing-card.featured .btn-card {
    background: #1D4ED8;
    color: #FFFFFF;
}

.pricing-card.featured .btn-card:hover {
     transform: translateY(-2px);
}

/* Footer styles moved to footer.css */

/* ==================== MODAL ==================== */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    background: #F4F6FB;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    color: #111827;
    font-weight: 700;
}

.form-control {
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

label {
    color: #111827;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1D4ED8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: #FFFFFF;
    padding: 4rem 0;
    color: #111827;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.stat-label {
    font-size: 1rem;
    color: #6B7280;
}

/* ==================== TESTIMONIALS ==================== */
#testimonials {
    padding: 5rem 0;
    background: #FFFFFF;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    color: #6B7280;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: #3b82f6;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-author h5,
.testimonial-info h5 {
    margin: 0;
    color: #111827;
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-author p,
.testimonial-info p {
    margin: 0;
    color: #6B7280;
    font-size: 0.875rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: #3b82f6;
    padding: 5rem 0;
    color: #FFFFFF;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: #E0ECFF;
    margin-bottom: 2rem;
}

/* ==================== STICKY HEADER ==================== */
.sticky-bar,
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    background: #ffffff;
     height: 90px;
  padding: 0;
  box-shadow: 0 2px 12px rgba(29, 78, 216, 0.15);
}

/* ==================== SMOOTH SCROLL ==================== */
html {
    scroll-behavior: smooth;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }

    .text-right {
        text-align: left !important;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .laptop-mockup {
        max-width: 100%;
        margin-top: 2rem;
    }

    .laptop-screen {
        padding: 8px 8px 0;
    }

    .laptop-base {
        height: 15px;
    }
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    background-color: #3b82f6;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-info {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 32px;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: start;
    margin-bottom: 24px;
}

.contact-info-item i {
    color: #3b82f6;
    font-size: 20px;
    margin-right: 16px;
    margin-top: 4px;
}

.contact-info-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.contact-info-item-content p {
    color: #6B7280;
    margin: 0;
}

.form-group label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.form-group input {
    height: 40px;
}

.form-control {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    padding: 5px 40px 5px 16px; /* un peu moins de padding vertical */
    line-height: 24px;  
}

select.form-control option {
    padding: 12px;
    font-size: 15px;
    color: #111827;
}

select.form-control option:hover,
select.form-control option:focus {
    background-color: #3b82f6;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #3b82f6;
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.alert {
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
}

.alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
}

/* ==================== LEGAL PAGES ==================== */
.legal-hero {
background: #3b82f6 !important;
    padding: 120px 0 60px;
    text-align: center;
    color: #ffffff;
}

.legal-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.legal-hero .update-date {
    font-size: 1rem;
    opacity: 0.9;
}

.legal-page {
    padding: 60px 0;
    background: #ffffff;
    min-height: 60vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content strong {
    color: #1e293b;
    font-weight: 600;
}

.legal-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #2563eb;
}

.info-block {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.info-block p {
    margin-bottom: 0.5rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.data-table,
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.data-table th,
.data-table td,
.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.data-table th,
.cookie-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.cookie-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.cookie-type.essential {
    background: #dbeafe;
    color: #1e40af;
}

.cookie-type.functional {
    background: #d1fae5;
    color: #065f46;
}

.cookie-type.analytics {
    background: #fef3c7;
    color: #92400e;
}

.cookie-type.marketing {
    background: #fce7f3;
    color: #9f1239;
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 100px 0 40px;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.35rem;
    }

    .data-table,
    .cookie-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td,
    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

/* ==================== RESPONSIVE COMPLET - TOUTES PAGES ==================== */

/* ===== Mobile (< 576px) - Très petits écrans ===== */
@media (max-width: 576px) {
    /* Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        min-height: 44px; /* Touch-friendly */
        padding: 12px 20px;
    }

    /* Stats Section */
    .stats-section {
        padding: 2rem 0;
    }

    .stat-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Features Section */
    .features-section,
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .section-header p {
        font-size: 0.9rem;
        text-align: center;
    }

    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
        padding: 20px;
    }

    .pricing-card.featured {
        padding-top: 40px;
    }

    .plan-name {
        font-size: 1.1rem;
    }

    .price .amount {
        font-size: 1.75rem;
    }

    .features-list li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    /* Testimonials */
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-section .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Contact Page */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-card {
        padding: 24px;
        margin-bottom: 2rem;
    }

    .contact-info {
        padding: 20px;
        margin-top: 2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 16px; /* Éviter zoom iOS */
        min-height: 44px;
    }

    /* FAQ Page */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Legal Pages */
    .legal-section {
        padding: 3rem 0;
    }

    .legal-hero {
        padding: 80px 0 30px;
    }

    .legal-hero h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.9rem;
    }

    /* Tables responsives */
    .data-table,
    .cookie-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td,
    .cookie-table th,
    .cookie-table td {
        padding: 6px 4px;
        white-space: nowrap;
    }
}

/* ===== Small Tablet (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
    /* Hero */
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Stats */
    .stat-card {
        padding: 2rem 1.5rem;
    }

    /* Features */
    .feature-card {
        padding: 2rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 22px;
    }

    /* Contact */
    .contact-card {
        padding: 32px;
    }
}

/* ===== Tablet (768px - 992px) ===== */
@media (min-width: 768px) and (max-width: 992px) {
    /* Hero - Ajustements tablette OPTIMISÉS */
    .hero {
        padding: 3rem 0; /* Réduit de 4rem à 3rem pour plus de compacité */
        min-height: 450px; /* Réduit de 500px à 450px */
    }

    .hero-title {
        font-size: 2.3rem; /* Légèrement réduit de 2.5rem */
        line-height: 1.2;
        margin-bottom: 1rem; /* Réduit l'espacement */
    }

    .hero-subtitle {
        font-size: 1.1rem; /* Légèrement réduit */
        margin-bottom: 1.5rem; /* Au lieu de 2rem */
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.65rem;
    }

    .hero-buttons .btn {
        padding: 0.6rem 1.3rem; /* Légèrement plus compact */
        font-size: 14px;
    }

    /* Laptop mockup - Taille TRÈS réduite pour tablette */
    .laptop-mockup {
        max-width: 420px; /* Réduit de 500px à 420px */
        margin-top: 1.5rem; /* Espacer du texte */
    }

    .laptop-screen {
        padding: 10px 10px 0; /* Réduire padding interne */
    }

    /* Container ajusté */
    
    /* Sections - Padding réduit */
    .features-section,
    .pricing-section,
    .section {
        padding: 3rem 0; /* Réduit de 3.5rem */
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    /* Pricing cards - 2 par ligne */
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    /* Contact */
    .contact-card {
        padding: 36px;
    }
}

/* ===== Large Desktop (>= 1200px) ===== */
@media (min-width: 1200px) {
  
    .hero {
        padding: 6rem 0;
    }

    .features-section,
    .pricing-section,
    .section {
        padding: 5rem 0;
    }
}

/* ==================== LEGAL PAGES ==================== */
.legal-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #ffffff;
}

.legal-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.legal-hero .update-date {
    font-size: 1rem;
    opacity: 0.9;
}

.legal-page {
    padding: 60px 0;
    background: #ffffff;
    min-height: 60vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content strong {
    color: #1e293b;
    font-weight: 600;
}

.legal-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #2563eb;
}

.info-block {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.info-block p {
    margin-bottom: 0.5rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.highlight-box {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.data-table,
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.data-table th,
.data-table td,
.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.data-table th,
.cookie-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.cookie-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.cookie-type.essential {
    background: #dbeafe;
    color: #1e40af;
}

.cookie-type.functional {
    background: #d1fae5;
    color: #065f46;
}

.cookie-type.analytics {
    background: #fef3c7;
    color: #92400e;
}

.cookie-type.marketing {
    background: #fce7f3;
    color: #9f1239;
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 100px 0 40px;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.35rem;
    }

    .data-table,
    .cookie-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td,
    .cookie-table th,
    .cookie-table td {
        padding: 8px;
    }
}

/* ==================== RESPONSIVE COMPLET - TOUTES PAGES ==================== */

/* ===== Mobile (< 576px) - Très petits écrans ===== */
@media (max-width: 576px) {
    /* Hero Section */
    .hero {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        min-height: 44px; /* Touch-friendly */
        padding: 12px 20px;
    }

    /* Stats Section */
    .stats-section {
        padding: 2rem 0;
    }

    .stat-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Features Section */
    .features-section,
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .section-header p {
        font-size: 0.9rem;
        text-align: center;
    }

    .feature-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 3rem 0;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
        padding: 20px;
    }

    .pricing-card.featured {
        padding-top: 40px;
    }

    .plan-name {
        font-size: 1.1rem;
    }

    .price .amount {
        font-size: 1.75rem;
    }

    .features-list li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    /* Testimonials */
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .cta-section .btn {
        width: 100%;
        min-height: 44px;
    }

    /* Contact Page */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-card {
        padding: 24px;
        margin-bottom: 2rem;
    }

    .contact-info {
        padding: 20px;
        margin-top: 2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 16px; /* Éviter zoom iOS */
        min-height: 44px;
    }

    /* FAQ Page */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Legal Pages */
    .legal-section {
        padding: 3rem 0;
    }

    .legal-hero {
        padding: 80px 0 30px;
    }

    .legal-hero h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.9rem;
    }

    /* Tables responsives */
    .data-table,
    .cookie-table {
        font-size: 0.8rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td,
    .cookie-table th,
    .cookie-table td {
        padding: 6px 4px;
        white-space: nowrap;
    }
}

/* ===== Small Tablet (576px - 767px) ===== */
@media (min-width: 576px) and (max-width: 767px) {
    /* Hero */
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Stats */
    .stat-card {
        padding: 2rem 1.5rem;
    }

    /* Features */
    .feature-card {
        padding: 2rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 22px;
    }

    /* Contact */
    .contact-card {
        padding: 32px;
    }
}

/* ===== Tablet (768px - 992px) ===== */
@media (min-width: 768px) and (max-width: 992px) {
    /* Hero - Ajustements tablette OPTIMISÉS */
    .hero {
        padding: 3rem 0; /* Réduit de 4rem à 3rem pour plus de compacité */
        min-height: 450px; /* Réduit de 500px à 450px */
    }

    .hero-title {
        font-size: 2.3rem; /* Légèrement réduit de 2.5rem */
        line-height: 1.2;
        margin-bottom: 1rem; /* Réduit l'espacement */
    }

    .hero-subtitle {
        font-size: 1.1rem; /* Légèrement réduit */
        margin-bottom: 1.5rem; /* Au lieu de 2rem */
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 0.65rem;
    }

    .hero-buttons .btn {
        padding: 0.6rem 1.3rem; /* Légèrement plus compact */
        font-size: 14px;
    }

    /* Laptop mockup - Taille TRÈS réduite pour tablette */
    .laptop-mockup {
        max-width: 420px; /* Réduit de 500px à 420px */
        margin-top: 1.5rem; /* Espacer du texte */
    }

    .laptop-screen {
        padding: 10px 10px 0; /* Réduire padding interne */
    }

    /* Container ajusté */
    
    /* Sections - Padding réduit */
    .features-section,
    .pricing-section,
    .section {
        padding: 3rem 0; /* Réduit de 3.5rem */
    }

    .section-header h2 {
        font-size: 1.9rem;
    }

    /* Pricing cards - 2 par ligne */
    .pricing-card {
        margin-bottom: 1.5rem;
    }

    /* Contact */
    .contact-card {
        padding: 36px;
    }
}

/* ===== Large Desktop (>= 1200px) ===== */
@media (min-width: 1200px) {
    

    .hero {
        padding: 6rem 0;
    }

    .features-section,
    .pricing-section,
    .section {
        padding: 5rem 0;
    }
}
