/* Togalma homepage v10 */
:root {
    --v10-primary: #d9080b;
    --v10-primary-hover: #b80609;
    --v10-navy: #00131a;
    --v10-navy-soft: #0a1f2e;
    --v10-text: #00131a;
    --v10-muted: #5c6b73;
    --v10-light: #f5f7f8;
    --v10-card-shadow: 0 4px 24px rgba(0, 19, 26, 0.08);
    --v10-radius: 12px;
    --tg-capital-green: #002d20;
    --tg-capital-accent: #e8944c;
    --tg-capital-accent-hover: #f0a862;
}

html[data-hide-capital-banner="1"] #invest-capital-promo {
    display: none !important;
}

body.v10-home {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--v10-text);
    background: #fff;
    padding-bottom: 0;
}

/* Weekly menu drawer disabled on v10 — hide if legacy markup is present */
body.v10-home .menu-sidenav-toggle,
body.v10-home .menu-sidenav,
body.v10-home .menu-sidenav-new-badge {
    display: none !important;
}

.v10-container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Header */
.v10-header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 19, 26, 0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.v10-header .navbar-brand img {
    height: 40px;
    width: auto;
}

.v10-header .nav-link {
    color: var(--v10-text) !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.v10-header .nav-link:hover {
    color: var(--v10-primary) !important;
}

.v10-header-phone {
    color: var(--v10-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.v10-header-phone:hover {
    color: var(--v10-primary);
}

.v10-btn-primary {
    background: var(--v10-primary);
    border-color: var(--v10-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
}

.v10-btn-primary:hover {
    background: var(--v10-primary-hover);
    border-color: var(--v10-primary-hover);
    color: #fff;
}

.v10-btn-outline {
    border: 2px solid var(--v10-primary);
    color: var(--v10-primary);
    font-weight: 700;
    border-radius: 10px;
    background: transparent;
}

.v10-btn-outline:hover {
    background: var(--v10-primary);
    color: #fff;
}

.v10-btn-white-outline {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    background: transparent;
}

.v10-btn-white-outline:hover {
    background: #fff;
    color: var(--v10-primary);
}

/* Capital banner (shared with v8) */
.invest-capital-promo-wrap {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #020617;
}
.invest-capital-promo-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/invest/investor-hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
}
@media (min-width: 768px) {
    .invest-capital-promo-photo { background-position: center 38%; }
}
.invest-capital-promo-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0, 45, 32, 0.92) 0%, rgba(0, 45, 32, 0.78) 45%, rgba(0, 45, 32, 0.55) 100%);
}
.invest-capital-promo-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23fff' stroke-width='0.5'/%3E%3C/svg%3E");
}
.invest-capital-promo-content { position: relative; z-index: 10; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35); }
.invest-capital-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.invest-capital-eyebrow i { color: var(--tg-capital-accent); }
.invest-capital-title {
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 42rem;
}
.invest-capital-lead { font-size: 0.95rem; line-height: 1.55; color: rgba(255, 255, 255, 0.85); max-width: 40rem; }
.invest-capital-lead strong { color: #fff; font-weight: 600; }
.invest-capital-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    background: var(--tg-capital-accent);
    color: var(--tg-capital-green);
    text-decoration: none;
}
.invest-capital-cta:hover {
    background: var(--tg-capital-accent-hover);
    color: var(--tg-capital-green);
}
.invest-capital-dismiss {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    width: 2.35rem;
    height: 2.35rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}

/* Hero — light illustration-style band */
.v10-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #eef2f6;
}

.v10-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/home-v10/hero-office-lunch.jpg') right center / min(52%, 640px) auto no-repeat;
    opacity: 0.45;
    filter: saturate(0.85) brightness(1.08);
}

.v10-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        #f5f8fa 0%,
        #f5f8fa 48%,
        rgba(245, 248, 250, 0.92) 62%,
        rgba(245, 248, 250, 0.4) 100%
    );
}

.v10-hero-inner {
    position: relative;
    z-index: 2;
    padding: 3rem 0 4rem;
    width: 100%;
}

.v10-hero-copy {
    width: 100%;
    max-width: 52rem;
}

.v10-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: none;
}

.v10-hero h1 .text-accent {
    color: var(--v10-primary);
}

.v10-hero-lead {
    font-size: 1.05rem;
    color: var(--v10-muted);
    max-width: 40rem;
    line-height: 1.6;
}

.v10-hero-ctas {
    max-width: 36rem;
}

.v10-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.v10-trust-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.v10-trust-pills i {
    color: var(--v10-primary);
}

.v10-hero-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.v10-hero-rating-stars {
    color: #f5b301;
    letter-spacing: 0.05em;
}

.v10-hero-rating strong {
    font-size: 1.1rem;
}

.v10-link-more {
    color: var(--v10-primary) !important;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .v10-hero-bg {
        background-size: 80% auto;
        background-position: center bottom;
        opacity: 0.3;
    }
    .v10-hero-overlay {
        background: linear-gradient(180deg, #f5f8fa 0%, rgba(245, 248, 250, 0.95) 70%, rgba(245, 248, 250, 0.75) 100%);
    }
}

/* Section titles */
.v10-section {
    padding: 4rem 0;
}

.v10-section-alt {
    background: var(--v10-light);
}

.v10-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.v10-section-lead {
    color: var(--v10-muted);
    max-width: 36rem;
}

/* Partners + stats */
.v10-partners-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 2.5rem;
}

@media (min-width: 992px) {
    .v10-partners-logos {
        flex-wrap: nowrap;
    }
}

.v10-partners-logos img {
    height: 72px;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.2s, opacity 0.2s;
}

.v10-partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Stats section */
.v10-stats-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.v10-stats-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--v10-card-shadow);
    border: 1px solid rgba(0, 19, 26, 0.06);
    padding: 2.25rem 1.25rem 1.75rem;
}

@media (min-width: 768px) {
    .v10-stats-panel {
        padding: 2.75rem 2rem 2rem;
    }
}

.v10-stats-header {
    margin-bottom: 2rem;
}

.v10-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .v10-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.v10-stat-card {
    background: var(--v10-light);
    border-radius: var(--v10-radius);
    padding: 1.35rem 0.85rem;
    text-align: center;
    border: 1px solid rgba(0, 19, 26, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.v10-stat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 19, 26, 0.08);
    transform: translateY(-2px);
    border-color: rgba(217, 8, 11, 0.15);
}

.v10-stat-card strong {
    display: block;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: var(--v10-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.v10-stat-card span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--v10-muted);
    line-height: 1.35;
}

.v10-stats-footnote {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--v10-muted);
    opacity: 0.85;
}

/* Steps */
.v10-step {
    text-align: center;
    padding: 1rem;
}

.v10-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--v10-primary);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.v10-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(217, 8, 11, 0.08);
    color: var(--v10-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Menu cards */
.v10-menu-card {
    border: none;
    border-radius: var(--v10-radius);
    box-shadow: var(--v10-card-shadow);
    overflow: visible;
    height: 100%;
    background: #fff;
}

.v10-menu-card-photo-wrap {
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem 0.5rem;
}

.v10-menu-card-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 19, 26, 0.1);
}

.v10-menu-card-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v10-light);
}

.v10-menu-card .price {
    color: var(--v10-primary);
    font-weight: 800;
    font-size: 1.15rem;
}

@media (max-width: 767px) {
    .v10-menu-scroll-wrap {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .v10-menu-grid > [class*="col-"] {
        flex: 0 0 78%;
        max-width: 78%;
        scroll-snap-align: start;
    }
}

/* Value props */
.v10-value-card {
    background: #fff;
    border-radius: var(--v10-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--v10-card-shadow);
}

.v10-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(217, 8, 11, 0.1);
    color: var(--v10-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Pricing */
.v10-pricing-card {
    border-radius: var(--v10-radius);
    overflow: hidden;
    box-shadow: var(--v10-card-shadow);
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.v10-pricing-card.featured {
    border: 2px solid var(--v10-primary);
}

@media (min-width: 992px) {
    .v10-pricing-card.featured {
        transform: translateY(-4px);
    }
}

.v10-pricing-head {
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.v10-pricing-card.featured .v10-pricing-head {
    background: var(--v10-primary);
    color: #fff;
}

.v10-pricing-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v10-pricing-body ul {
    padding-left: 1.1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.v10-pricing-price {
    font-size: 1.75rem;
    font-weight: 800;
}

/* Zones */
.v10-zone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 19, 26, 0.04);
}

.v10-zone-item strong {
    color: var(--v10-primary);
}

.v10-map-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--v10-radius);
}

/* Testimonials */
.v10-testimonial {
    background: #fff;
    border-radius: var(--v10-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--v10-card-shadow);
}

.v10-testimonial-stars {
    color: #f5b301;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.v10-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.v10-testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.v10-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--v10-light);
    color: var(--v10-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* App + B2B bands */
.v10-band-light {
    background: var(--v10-light);
}

.v10-band-dark {
    background: var(--v10-navy);
    color: #fff;
}

.v10-app-mockup {
    max-height: 420px;
    width: auto;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--v10-card-shadow);
}

.v10-b2b-img {
    border-radius: var(--v10-radius);
    width: 100%;
    object-fit: cover;
    max-height: 280px;
}

/* Footer */
.v10-footer {
    background: var(--v10-navy);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 1.5rem;
}

.v10-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.v10-footer a:hover {
    color: #fff;
}

.v10-footer h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.v10-footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.5rem;
}

/* WhatsApp float (no bottom nav bar on v10) */
.v10-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.v10-whatsapp-float .btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

@media (max-width: 767px) {
    .v10-hero-copy {
        text-align: center;
    }
    .v10-hero-ctas,
    .v10-trust-pills,
    .v10-hero-rating {
        justify-content: center;
    }
    .v10-trust-pills,
    .v10-hero-rating {
        display: flex;
        flex-wrap: wrap;
    }
}

#apropos {
    scroll-margin-top: 80px;
}

#menu-du-jour,
#comment-ca-marche,
#faq,
#zones,
#contact,
#apropos {
    scroll-margin-top: 88px;
}

/* Capital banner uses Bootstrap .container — align with v10 width */
.invest-capital-promo-wrap .container {
    max-width: 1140px;
}

/* Legal / static content pages (CGV, etc.) */
body.v10-legal-page {
    background: var(--v10-light);
}

.v10-legal-main {
    padding: 1.5rem 0 3rem;
    min-height: 50vh;
}

.v10-legal-section {
    padding: 2rem 0 3rem;
}

.v10-legal-card {
    background: #fff;
    border: 1px solid rgba(0, 19, 26, 0.06);
    border-radius: var(--v10-radius);
    box-shadow: var(--v10-card-shadow);
    padding: 2rem 2.25rem;
    max-width: 820px;
    margin: 0 auto;
}

.v10-legal-prose {
    color: var(--v10-text);
}

.v10-legal-prose h2 {
    color: var(--v10-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.v10-legal-prose article:first-child h2 {
    margin-top: 0;
}

.v10-legal-prose p,
.v10-legal-prose ul,
.v10-legal-prose ol {
    margin-bottom: 1rem;
    line-height: 1.65;
}

.v10-legal-prose ul,
.v10-legal-prose ol {
    padding-left: 1.25rem;
}

.v10-legal-prose a {
    color: var(--v10-primary);
}

.v10-legal-prose strong {
    color: var(--v10-primary);
}

@media (max-width: 767px) {
    .v10-legal-card {
        padding: 1.5rem 1.25rem;
    }
}
