/* ==========================================================================
   AYANNA ERP — Custom Stylesheet
   Stack: Bootstrap 5.3 + Bootstrap Icons + Custom
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. CSS VARIABLES
   ----------------------------------------------------------------------- */
:root {
    --primary:       #1a3a6b;
    --primary-dark:  #0f2347;
    --primary-light: #2a5298;
    --accent:        #ff6b35;
    --accent-hover:  #e85520;
    --green:         #10b981;
    --blue:          #3b82f6;
    --purple:        #8b5cf6;
    --red:           #ef4444;
    --teal:          #14b8a6;
    --indigo:        #6366f1;
    --yellow:        #f59e0b;
    --whatsapp:      #25d366;
    --whatsapp-dark: #1da851;
    --dark:          #0f172a;
    --dark-2:        #1e293b;
    --dark-3:        #334155;
    --text-muted-c:  #94a3b8;
    --light-bg:      #f8fafc;
    --border:        #e2e8f0;
    --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg:     0 20px 40px rgba(0,0,0,.15);
    --shadow-xl:     0 25px 60px rgba(0,0,0,.2);
    --radius:        12px;
    --radius-lg:     20px;
    --font-main:     'Inter', sans-serif;
    --font-display:  'Poppins', sans-serif;
}

/* -----------------------------------------------------------------------
   2. BASE
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: #1e293b;
    background: #fff;
    overflow-x: hidden;
}

a { transition: all .2s; }

img { max-width: 100%; }

/* -----------------------------------------------------------------------
   3. NAVBAR
   ----------------------------------------------------------------------- */
.ayanna-navbar {
    background: rgba(15, 35, 71, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: all .3s;
}

.ayanna-navbar.scrolled {
    padding: .5rem 0;
    background: rgba(10, 25, 55, 0.99);
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.navbar-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), #ff9a6c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.navbar-brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.navbar-brand-sub {
    font-size: .65rem;
    color: rgba(255,255,255,.5);
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,.8) !important;
    font-size: .9rem;
    font-weight: 500;
    padding: .5rem .9rem !important;
    border-radius: 6px;
    transition: all .2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.1);
}

/* -----------------------------------------------------------------------
   4. BUTTONS
   ----------------------------------------------------------------------- */
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff9a6c);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: .55rem 1.3rem;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(255,107,53,.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,107,53,.4);
    color: #fff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #1da851);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: .55rem 1.3rem;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(37,211,102,.25);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, var(--whatsapp-dark), #128c3a);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,211,102,.35);
    color: #fff;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent), #ff9a6c);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    padding: .75rem 2rem;
    transition: all .3s;
    box-shadow: 0 8px 25px rgba(255,107,53,.35);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,107,53,.45);
    color: #fff;
}

.btn-hero-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #1da851);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    padding: .75rem 2rem;
    transition: all .3s;
    box-shadow: 0 8px 25px rgba(37,211,102,.3);
}

.btn-hero-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37,211,102,.4);
    color: #fff;
}

/* -----------------------------------------------------------------------
   5. HERO SECTION
   ----------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4080 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,107,53,.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59,130,246,.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,107,53,.15);
    border: 1px solid rgba(255,107,53,.35);
    color: #ff9a6c;
    padding: .4rem 1rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -.5px;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    max-width: 560px;
    margin-top: 1rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    font-weight: 500;
}

.text-accent { color: var(--accent) !important; }

/* Dashboard Mockup */
.hero-dashboard-mockup {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
    animation: floatMockup 4s ease-in-out infinite;
}

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

.mockup-header {
    background: rgba(255,255,255,.08);
    padding: .7rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.mockup-title-bar {
    color: rgba(255,255,255,.5);
    font-size: .72rem;
}

.mockup-body { padding: 1rem; }

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    margin-bottom: .8rem;
}

.mockup-stat-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: .6rem .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.mockup-stat-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}

.mockup-stat-icon.orange { background: rgba(255,107,53,.2); color: var(--accent); }
.mockup-stat-icon.green  { background: rgba(16,185,129,.2); color: var(--green); }
.mockup-stat-icon.blue   { background: rgba(59,130,246,.2); color: var(--blue); }
.mockup-stat-icon.purple { background: rgba(139,92,246,.2); color: var(--purple); }

.mockup-stat-val {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mockup-stat-label {
    font-size: .68rem;
    color: rgba(255,255,255,.5);
    margin-top: 2px;
}

.mockup-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
}

.mockup-module-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: .5rem .25rem;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    cursor: pointer;
    transition: background .2s;
}

.mockup-module-item:hover { background: rgba(255,255,255,.1); }

.mockup-module-icon {
    width: 30px; height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

.mockup-module-item span {
    font-size: .6rem;
    color: rgba(255,255,255,.6);
    text-align: center;
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* -----------------------------------------------------------------------
   6. STATS SECTION
   ----------------------------------------------------------------------- */
.stats-section { background: #fff; }

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background .2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--light-bg); }

.stat-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: .82rem;
    color: #64748b;
    font-weight: 500;
    margin-top: .35rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* -----------------------------------------------------------------------
   7. SECTION UTILITIES
   ----------------------------------------------------------------------- */
.bg-light-custom { background: var(--light-bg) !important; }
.bg-dark-custom  { background: var(--dark) !important; }
.text-muted-custom { color: var(--text-muted-c) !important; }

.section-badge {
    display: inline-block;
    background: rgba(255,107,53,.1);
    color: var(--accent);
    border: 1px solid rgba(255,107,53,.25);
    padding: .3rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.section-badge-dark {
    display: inline-block;
    background: rgba(255,107,53,.15);
    color: #ff9a6c;
    border: 1px solid rgba(255,107,53,.3);
    padding: .3rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.75;
}

/* -----------------------------------------------------------------------
   8. PROBLEM / SOLUTION SECTION
   ----------------------------------------------------------------------- */
.problem-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.problem-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
}

.problem-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .5rem 0;
    font-size: .95rem;
    color: #475569;
    border-bottom: 1px solid var(--border);
}

.problem-list li:last-child { border-bottom: none; }
.problem-list li i { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.solution-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .45rem 0;
    font-size: .95rem;
    color: #374151;
}

.solution-list li i { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* -----------------------------------------------------------------------
   9. MODULES SECTION
   ----------------------------------------------------------------------- */
.module-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.module-orange::before { background: linear-gradient(90deg, var(--accent), #ffb347); }
.module-blue::before   { background: linear-gradient(90deg, var(--blue), #60a5fa); }
.module-green::before  { background: linear-gradient(90deg, var(--green), #34d399); }
.module-purple::before { background: linear-gradient(90deg, var(--purple), #a78bfa); }
.module-red::before    { background: linear-gradient(90deg, var(--red), #f87171); }
.module-teal::before   { background: linear-gradient(90deg, var(--teal), #2dd4bf); }
.module-indigo::before { background: linear-gradient(90deg, var(--indigo), #818cf8); }
.module-yellow::before { background: linear-gradient(90deg, var(--yellow), #fcd34d); }

.module-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.module-orange .module-card-icon { background: rgba(255,107,53,.12); color: var(--accent); }
.module-blue   .module-card-icon { background: rgba(59,130,246,.12); color: var(--blue); }
.module-green  .module-card-icon { background: rgba(16,185,129,.12); color: var(--green); }
.module-purple .module-card-icon { background: rgba(139,92,246,.12); color: var(--purple); }
.module-red    .module-card-icon { background: rgba(239,68,68,.12); color: var(--red); }
.module-teal   .module-card-icon { background: rgba(20,184,166,.12); color: var(--teal); }
.module-indigo .module-card-icon { background: rgba(99,102,241,.12); color: var(--indigo); }
.module-yellow .module-card-icon { background: rgba(245,158,11,.12); color: var(--yellow); }

.module-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .4rem;
}

.module-card-short {
    font-size: .85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: .75rem;
}

.module-card-features { margin-bottom: 1rem; }

.module-feature-item {
    font-size: .82rem;
    color: #475569;
    padding: .2rem 0;
}

.module-card-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.module-card-link:hover { color: var(--accent); }

/* -----------------------------------------------------------------------
   10. HOW IT WORKS
   ----------------------------------------------------------------------- */
.how-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    text-align: center;
    transition: all .3s;
}

.how-card:hover {
    background: rgba(255,255,255,.07);
    transform: translateY(-4px);
}

.how-step-number {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    border: 2px solid;
    margin: 0 auto 1rem;
}

.how-icon {
    font-size: 2.5rem;
    margin-bottom: .75rem;
}

.how-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }

.how-desc {
    font-size: .88rem;
    color: var(--text-muted-c);
    line-height: 1.6;
}

.how-arrow {
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    z-index: 2;
    display: none;
}

@media (min-width: 992px) {
    .how-arrow { display: block; }
}

/* -----------------------------------------------------------------------
   11. WHY CARDS
   ----------------------------------------------------------------------- */
.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    transition: width .4s;
    border-radius: 0 0 0 var(--radius-lg);
}

.module-orange.why-card::after { background: var(--accent); }
.module-blue.why-card::after   { background: var(--blue); }
.module-green.why-card::after  { background: var(--green); }
.module-purple.why-card::after { background: var(--purple); }
.module-red.why-card::after    { background: var(--red); }
.module-teal.why-card::after   { background: var(--teal); }
.module-indigo.why-card::after { background: var(--indigo); }
.module-yellow.why-card::after { background: var(--yellow); }

.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card:hover::after { width: 100%; }

.why-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
}

.module-orange .why-icon { color: var(--accent); }
.module-blue   .why-icon { color: var(--blue); }
.module-green  .why-icon { color: var(--green); }
.module-purple .why-icon { color: var(--purple); }
.module-red    .why-icon { color: var(--red); }
.module-teal   .why-icon { color: var(--teal); }
.module-indigo .why-icon { color: var(--indigo); }
.module-yellow .why-icon { color: var(--yellow); }

.why-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.why-desc  { font-size: .83rem; color: #64748b; line-height: 1.6; margin: 0; }

/* -----------------------------------------------------------------------
   12. PRICING
   ----------------------------------------------------------------------- */
.pricing-teaser { background: var(--light-bg); }

.pricing-includes { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }

.pricing-include-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .92rem;
    color: #374151;
}

.pricing-card-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    color: #fff;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.pricing-card-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.pricing-card-name { font-size: 1.3rem; font-weight: 800; margin-bottom: .25rem; }
.pricing-card-price { margin: 1rem 0; line-height: 1; }
.pricing-card-price .price-currency { font-size: 1.5rem; font-weight: 700; color: #ff9a6c; vertical-align: top; margin-top: .5rem; display: inline-block; }
.pricing-card-price .price-amount { font-family: var(--font-display); font-size: 4rem; font-weight: 900; color: #fff; }
.pricing-card-price .price-period { font-size: 1rem; color: rgba(255,255,255,.6); }
.pricing-card-desc { font-size: .9rem; color: rgba(255,255,255,.7); }

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.pricing-feature-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 0;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.pricing-feature-list li:last-child { border-bottom: none; }
.pricing-feature-list li i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

/* Tarifs page cards */
.pricing-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    position: relative;
}

.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.pricing-card-highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,107,53,.1), var(--shadow-lg);
}

.pricing-highlight-badge {
    background: linear-gradient(135deg, var(--accent), #ff9a6c);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .4rem 1rem;
    text-align: center;
}

.pricing-card-top {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
}

.pricing-plan-name { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: .25rem; }
.pricing-plan-desc { font-size: .88rem; color: #64748b; margin-bottom: 1rem; }

.pricing-plan-price { line-height: 1; }
.pricing-plan-price .price-currency { font-size: 1.3rem; font-weight: 700; color: var(--primary); vertical-align: top; margin-top: .3rem; display: inline-block; }
.pricing-plan-price .price-amount { font-family: var(--font-display); font-size: 3.2rem; font-weight: 900; color: var(--primary); }
.pricing-plan-price .price-amount-text { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--primary); }
.pricing-plan-price .price-period { font-size: .9rem; color: #64748b; }

.pricing-card-body { padding: 1.5rem 2rem; flex: 1; }

.pricing-modules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-modules-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 0;
    font-size: .88rem;
    color: #374151;
    border-bottom: 1px solid var(--border);
}

.pricing-modules-list li:last-child { border-bottom: none; }
.pricing-modules-list li i { color: var(--green); font-size: .95rem; flex-shrink: 0; }

.pricing-card-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); }

/* -----------------------------------------------------------------------
   13. SECTORS
   ----------------------------------------------------------------------- */
.sector-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
    transition: all .3s;
    cursor: default;
}

.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,107,53,.3); }

.sector-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: .75rem;
    display: block;
    transition: color .2s;
}

.sector-card:hover .sector-icon { color: var(--accent); }
.sector-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.sector-desc  { font-size: .8rem; color: #64748b; line-height: 1.5; margin: 0; }

/* -----------------------------------------------------------------------
   14. COVERAGE SECTION
   ----------------------------------------------------------------------- */
.coverage-cities { display: flex; flex-wrap: wrap; gap: .5rem; }

.city-badge {
    background: rgba(255,107,53,.1);
    border: 1px solid rgba(255,107,53,.25);
    color: #ff9a6c;
    padding: .25rem .75rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
}

.rdc-map-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.map-header {
    background: rgba(255,255,255,.06);
    padding: 1rem 1.5rem;
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.map-body { padding: 2.5rem 2rem; }

.map-icon-large { font-size: 5rem; margin-bottom: 1.5rem; }

.map-stat-row { display: flex; justify-content: center; gap: 2.5rem; }
.map-stat-val { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.map-stat-lbl { font-size: .78rem; color: var(--text-muted-c); margin-top: .25rem; }

/* -----------------------------------------------------------------------
   15. CTA SECTION
   ----------------------------------------------------------------------- */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,107,53,.2);
    color: #ff9a6c;
    border: 1px solid rgba(255,107,53,.4);
    padding: .4rem 1.2rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
}

.cta-subtitle { font-size: 1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.cta-note { font-size: .88rem; color: rgba(255,255,255,.6); }
.cta-note a { text-decoration: none; }

/* -----------------------------------------------------------------------
   16. HOW-IT-WORKS (dark bg)
   ----------------------------------------------------------------------- */
.how-section { background: var(--dark); }

/* -----------------------------------------------------------------------
   17. FORMS
   ----------------------------------------------------------------------- */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-card-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: .5rem;
}

.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .92rem;
    transition: all .2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,107,53,.12);
}

.module-check .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* -----------------------------------------------------------------------
   18. SIDEBAR COMPONENTS
   ----------------------------------------------------------------------- */
.sidebar-contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.sidebar-contact-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.whatsapp-bg { background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark)); }

.sidebar-contact-card h5 { font-weight: 700; margin-bottom: .5rem; }
.sidebar-contact-card p  { font-size: .88rem; color: #64748b; }

.sidebar-info-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.sidebar-info-title { font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }

.sidebar-steps { display: flex; flex-direction: column; gap: .75rem; }

.sidebar-step {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
}

.sidebar-step-num {
    width: 26px; height: 26px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.sidebar-step p { font-size: .85rem; color: #475569; margin: 0; }

.sidebar-availability-card {
    background: rgba(16,185,129,.08);
    border: 1px solid rgba(16,185,129,.2);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .88rem;
}

/* Contact page */
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-info-icon {
    width: 42px; height: 42px;
    background: rgba(255,107,53,.12);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   19. MODULE DETAIL PAGE
   ----------------------------------------------------------------------- */
.module-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 4rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.module-detail-visual {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 280px;
}

.module-orange.module-detail-visual { background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(255,107,53,.06)); border-right: 4px solid var(--accent); }
.module-blue.module-detail-visual   { background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(59,130,246,.06)); border-right: 4px solid var(--blue); }
.module-green.module-detail-visual  { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.06)); border-right: 4px solid var(--green); }
.module-purple.module-detail-visual { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(139,92,246,.06)); border-right: 4px solid var(--purple); }
.module-red.module-detail-visual    { background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(239,68,68,.06)); border-right: 4px solid var(--red); }
.module-teal.module-detail-visual   { background: linear-gradient(135deg, rgba(20,184,166,.12), rgba(20,184,166,.06)); border-right: 4px solid var(--teal); }
.module-indigo.module-detail-visual { background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(99,102,241,.06)); border-right: 4px solid var(--indigo); }
.module-yellow.module-detail-visual { background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(245,158,11,.06)); border-right: 4px solid var(--yellow); }

.module-detail-icon-wrap {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.module-orange .module-detail-icon-wrap { color: var(--accent); }
.module-blue   .module-detail-icon-wrap { color: var(--blue); }
.module-green  .module-detail-icon-wrap { color: var(--green); }
.module-purple .module-detail-icon-wrap { color: var(--purple); }
.module-red    .module-detail-icon-wrap { color: var(--red); }
.module-teal   .module-detail-icon-wrap { color: var(--teal); }
.module-indigo .module-detail-icon-wrap { color: var(--indigo); }
.module-yellow .module-detail-icon-wrap { color: var(--yellow); }

.module-detail-visual-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.module-detail-content { flex: 1; padding: 2.5rem 2.5rem; background: #fff; }

.module-detail-badge {
    display: inline-block;
    background: var(--light-bg);
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .75rem;
}

.module-detail-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: .4rem; }
.module-detail-short { font-size: 1rem; font-weight: 600; color: #475569; margin-bottom: .75rem; }
.module-detail-desc  { font-size: .92rem; color: #64748b; line-height: 1.7; margin-bottom: 1.25rem; }

.module-detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}

.module-detail-feature {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: #374151;
}

/* -----------------------------------------------------------------------
   20. CHARGES INFO (Tarifs page)
   ----------------------------------------------------------------------- */
.charges-info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.charges-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0; }

.charge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.charge-icon {
    width: 44px; height: 44px;
    background: rgba(255,107,53,.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   21. ACCORDION (FAQ)
   ----------------------------------------------------------------------- */
.ayanna-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
}

.ayanna-accordion .accordion-button {
    font-weight: 600;
    font-size: .95rem;
    color: var(--dark);
    background: #fff;
    border-radius: var(--radius) !important;
}

.ayanna-accordion .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(255,107,53,.04);
    box-shadow: none;
}

.ayanna-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z' fill='%23ff6b35'/%3E%3C/svg%3E");
}

.ayanna-accordion .accordion-body {
    font-size: .92rem;
    color: #475569;
    line-height: 1.7;
    background: var(--light-bg);
}

/* -----------------------------------------------------------------------
   22. ABOUT PAGE
   ----------------------------------------------------------------------- */
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-value-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    background: #fff;
    transition: all .3s;
}

.about-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about-value-card i { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.about-value-card h6 { font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.about-value-card p  { font-size: .82rem; color: #64748b; margin: 0; line-height: 1.5; }

.module-red.about-value-card i    { color: var(--red); }
.module-yellow.about-value-card i { color: var(--yellow); }
.module-green.about-value-card i  { color: var(--green); }
.module-blue.about-value-card i   { color: var(--blue); }

/* -----------------------------------------------------------------------
   23. CONFIRMATION PAGE
   ----------------------------------------------------------------------- */
.confirmation-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.confirmation-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--green), #34d399);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(16,185,129,.35);
}

.whatsapp-confirm-box {
    background: rgba(37,211,102,.08);
    border: 1px solid rgba(37,211,102,.25);
    border-radius: var(--radius);
    padding: 1.25rem;
}

/* -----------------------------------------------------------------------
   24. PAGE HERO (inner pages)
   ----------------------------------------------------------------------- */
.page-hero { background: var(--dark); padding-top: 100px; }
.hero-title-sm {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
}

/* -----------------------------------------------------------------------
   25. NOS CLIENTS
   ----------------------------------------------------------------------- */
.clients-section { background: #f8fafc; }

.client-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    padding: 24px;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    border-color: var(--accent);
}
.client-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.client-logo {
    width: 56px; height: 56px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 4px;
    flex-shrink: 0;
}
.client-logo-placeholder {
    width: 56px; height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b3515, #3b82f615);
    border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}
.client-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
    line-height: 1.3;
}
.client-ville {
    font-size: .78rem;
    color: #64748b;
}
.client-activite-badge {
    display: inline-block;
    background: rgba(255,107,53,.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,107,53,.2);
}
.client-description {
    font-size: .83rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* Badge accent pour le bouton "Voir plus" */
.bg-accent { background-color: var(--accent) !important; }

/* -----------------------------------------------------------------------
   26. FOOTER
   ----------------------------------------------------------------------- */
.ayanna-footer {
    background: var(--dark);
    color: rgba(255,255,255,.8);
}

.footer-logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--accent), #ff9a6c);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.footer-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.65; max-width: 300px; }

.footer-social-link {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .2s;
}

.footer-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: .4rem; }

.footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .85rem;
    transition: color .2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .85rem;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}

.footer-contact-list li i { flex-shrink: 0; margin-top: 2px; }

.footer-contact-list a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
}

.footer-contact-list a:hover { color: var(--accent); }

.footer-cta-box {
    background: rgba(255,107,53,.1);
    border: 1px solid rgba(255,107,53,.25);
    border-radius: var(--radius);
    padding: 1rem;
}

.footer-cta-box p { color: rgba(255,255,255,.8); font-size: .85rem; }

.footer-divider { border-color: rgba(255,255,255,.08); }

.footer-copyright { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-made      { font-size: .82rem; color: rgba(255,255,255,.35); }

/* -----------------------------------------------------------------------
   26. FLOATING WHATSAPP BUTTON
   ----------------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    font-size: 1.4rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37,211,102,.45);
    z-index: 1000;
    transition: all .3s;
    animation: pulseWA 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(37,211,102,.55);
    color: #fff;
}

.whatsapp-float-label {
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes pulseWA {
    0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,.45); }
    50%       { box-shadow: 0 8px 45px rgba(37,211,102,.65); }
}

/* -----------------------------------------------------------------------
   27. RESPONSIVE
   ----------------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-section { padding-top: 90px; }
    .hero-dashboard-mockup { max-width: 450px; margin: 0 auto; }
    .module-detail-row { flex-direction: column !important; }
    .module-detail-visual { min-height: auto; border-right: none !important; border-bottom: 4px solid; }
    .module-detail-features { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    .mockup-modules { grid-template-columns: repeat(4, 1fr); }
    .stat-item { min-width: 120px; }
    .whatsapp-float-label { display: none; }
    .whatsapp-float { border-radius: 50%; padding: 1rem; font-size: 1.6rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .form-card { padding: 1.5rem; }
    .pricing-card-featured { padding: 2rem 1.5rem; }
    .cta-box { padding: 2.5rem 1.5rem; }
    .module-detail-content { padding: 1.5rem; }
    .stats-bar { border-radius: var(--radius); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .mockup-stats { grid-template-columns: 1fr 1fr; }
    .mockup-modules { grid-template-columns: repeat(4, 1fr); }
}
