/* ======================================
   Conciergerie - Styles publics Premium
   ====================================== */

:root {
    --primary: #1b4965;
    --primary-dark: #0d2f45;
    --primary-light: #e8f4f8;
    --secondary: #0a1628;
    --accent: #c8956c;
    --accent-light: #f5ece4;
    --gold: #c8956c;
    --gold-light: rgba(200, 149, 108, 0.12);
    --bg-light: #f9fafb;
    --bg-warm: #faf8f5;
    --text-dark: #1a1a2e;
    --text-body: #3d3d56;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --radius: 1rem;
    --radius-sm: 0.625rem;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
}

/* ======== GLOBAL ======== */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--accent); }

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

/* ======== BUTTONS ======== */
.btn {
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27,73,101,0.35);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: #b5825b;
    border-color: #b5825b;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,149,108,0.4);
}

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

.btn-outline-light {
    border-width: 2px;
}
.btn-outline-light:hover {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* ======== NAVBAR ======== */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92) !important;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--primary) !important;
}

.navbar-brand i {
    color: var(--accent);
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.93rem;
    padding: 0.5rem 1.1rem !important;
    color: var(--text-body) !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .btn-phone {
    background: var(--primary);
    color: #fff !important;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.navbar .btn-phone:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,149,108,0.3);
}

/* ======== HERO ======== */
.hero-section {
    background: linear-gradient(160deg, var(--secondary) 0%, #0f2942 40%, var(--primary) 100%);
    color: white;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200,149,108,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,0.04) 0%, transparent 100%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.hero-badge i {
    color: var(--accent);
}

.hero-section h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.hero-section h1 .accent {
    color: var(--accent);
}

.hero-section .lead {
    font-size: 1.15rem;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.7;
    max-width: 520px;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
}

.hero-feature i {
    color: var(--accent);
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
}

.hero-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 2rem;
    color: white;
}

.hero-card-stat {
    text-align: center;
    padding: 1rem;
}

.hero-card-stat .number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.hero-card-stat .label {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: 0.35rem;
    font-weight: 500;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-platforms span {
    font-size: 0.78rem;
    opacity: 0.5;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 4rem 0 3rem;
        min-height: auto;
    }
    .hero-section h1 { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .hero-section { padding: 3rem 0 2.5rem; }
    .hero-section h1 { font-size: 2rem; }
    .hero-features { gap: 1rem; }
}

/* ======== STATS BAR ======== */
.stats-bar {
    background: var(--primary);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(200,149,108,0.12), transparent);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.stat-item .label {
    font-size: 0.82rem;
    opacity: 0.75;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.5rem;
}

/* ======== SECTIONS ======== */
.section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-weight: 800;
    font-size: 2.25rem;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.7;
}

.section-subtitle.mx-auto { margin: 0 auto 3rem; }

/* ======== SERVICE CARDS ======== */
.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.service-card:hover .icon-circle {
    background: var(--primary);
}

.icon-circle i {
    font-size: 1.4rem;
    color: var(--primary);
    transition: color 0.4s ease;
}

.service-card:hover .icon-circle i {
    color: white;
}

.service-card h3,
.service-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Hover card generic */
.hover-card {
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ======== WHY US ======== */
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.why-card .icon-circle {
    margin: 0 auto 1.25rem;
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.why-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ======== CTA ======== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    padding: 4rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200,149,108,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
}

.cta-section .btn-light {
    font-weight: 700;
    padding: 0.85rem 2.5rem;
    color: var(--primary);
    border-radius: var(--radius-sm);
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 1.5rem;
        border-radius: var(--radius);
    }
}

/* ======== TRUST / PLATFORMS ======== */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    background: var(--bg-warm);
}

.trust-strip .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-logo {
    height: 28px;
    opacity: 0.45;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.trust-logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* ======== PROCESS / STEPS ======== */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid var(--accent);
}

.process-step h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ======== FOOTER ======== */
footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 4rem 0 1.5rem;
}

footer h5, footer h6 {
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

footer a {
    color: rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent) !important;
    padding-left: 2px;
}

footer .footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

footer .footer-brand i {
    color: var(--accent);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    color: rgba(255,255,255,0.6);
}

footer .social-links a:hover {
    background: var(--accent);
    color: white !important;
    transform: translateY(-2px);
}

footer hr {
    border-color: rgba(255,255,255,0.08);
}

/* ======== COOKIE BANNER ======== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.08);
    padding: 1.25rem 0;
    z-index: 9999;
}

.cookie-banner .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
}

/* ======== FORMS ======== */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border-color: var(--border);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,73,101,0.1);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

/* ======== CONTACT PAGE ======== */
.contact-info-card {
    background: var(--bg-warm);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
}

.contact-info-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-info-card .icon-wrap i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ======== LEGAL PAGES ======== */
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ======== SCROLL ANIMATIONS ======== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .section-title { font-size: 1.75rem; }
}

@media (max-width: 576px) {
    .section { padding: 2.5rem 0; }
    .section-title { font-size: 1.5rem; }
}

.legal-content ul {
    padding-left: 1.5rem;
}

/* About page */
.about-value {
    text-align: center;
    padding: 1.5rem;
}

.about-value .icon-circle {
    margin: 0 auto 1rem;
}

/* Min-height for main content */
.min-vh-75 {
    min-height: 75vh;
}

/* Toast / flash messages */
.alert-dismissible {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Back to top - optionnel */
.back-to-top {
    position: fixed;
    bottom: 4rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    box-shadow: var(--shadow-md);
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-to-top.visible {
    display: flex;
}
