/* ============================================
   Cabinet Connect — SaaS Landing Page
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --navy:       #0F2D52;
    --navy-light: #1a4480;
    --teal:       #0891B2;
    --teal-light: #06B6D4;
    --white:      #FFFFFF;
    --off-white:  #F8FAFC;
    --light-blue: #EFF6FF;
    --text-dark:  #0F172A;
    --text-mid:   #334155;
    --text-light: #64748B;
    --border:     #E2E8F0;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(15,45,82,.12);
    --shadow-lg:  0 20px 60px rgba(15,45,82,.15);
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --transition: all .3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NAV ──────────────────────────────────────────────────────── */
.pub-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.pub-nav.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center;
    justify-content: space-between; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text .brand { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.nav-logo-text .sub   { font-size: 11px; color: var(--teal); font-weight: 500; letter-spacing: .5px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-mid); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--light-blue); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-rdv {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    background: var(--teal); color: var(--white) !important;
    border-radius: 10px; font-size: 14px; font-weight: 600; transition: var(--transition);
}
.btn-nav-rdv:hover { background: var(--navy); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(8,145,178,.4); }
.btn-nav-login {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 13px; font-weight: 500; color: var(--text-mid); transition: var(--transition);
}
.btn-nav-login:hover { border-color: var(--navy); color: var(--navy); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; z-index: 999;
    flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-mid); transition: var(--transition); }
.mobile-menu a:hover { background: var(--light-blue); color: var(--navy); }
.mobile-menu .mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-menu .mobile-cta { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #1a4480 55%, #0e3d6e 100%);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 120px 24px 80px;
}
.hero::before {
    content: ''; position: absolute; top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(8,145,178,.2) 0%, transparent 70%);
    pointer-events: none;
}
.hero-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
    background: rgba(8,145,178,.2); border: 1px solid rgba(8,145,178,.4);
    border-radius: 100px; font-size: 13px; font-weight: 500; color: #7DD3FC;
    margin-bottom: 24px;
}
.hero-title { font-size: clamp(36px,5vw,60px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero-title span { color: var(--teal-light); }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 40px; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px;
    background: var(--teal); color: var(--white); border-radius: 12px;
    font-size: 16px; font-weight: 600; transition: var(--transition);
    box-shadow: 0 4px 20px rgba(8,145,178,.4);
}
.btn-hero-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px;
    background: rgba(255,255,255,.1); color: var(--white);
    border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px;
    font-size: 15px; font-weight: 500; transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.2); }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stat-number { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-label  { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
    background: rgba(255,255,255,.08); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg);
    padding: 40px; width: 100%; max-width: 380px;
}
.hero-card-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hero-card-title i { color: var(--teal-light); }
.hero-service-list { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.hero-service-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: rgba(255,255,255,.07); border-radius: 10px;
    font-size: 14px; color: rgba(255,255,255,.85); font-weight: 500;
}
.hero-service-item i { color: var(--teal-light); font-size: 16px; width: 20px; }
.hero-card-badge {
    margin-top: 16px; padding: 8px 12px;
    background: rgba(6,182,212,.15); border-radius: 8px;
    color: var(--teal-light); font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 6px;
}

/* ── SECTION BASE ─────────────────────────────────────────────── */
.sc { max-width: 1100px; margin: 0 auto; padding: 88px 24px; }
.sc-head { text-align: center; margin-bottom: 56px; }
.sc-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: #eef2ff; color: #6366f1; border-radius: 100px;
    padding: 6px 16px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.sc-head h2 { font-size: clamp(24px,3.5vw,34px); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.sc-head p  { font-size: 16px; color: var(--text-light); max-width: 520px; margin: 0 auto; }

/* ── FEATURES ─────────────────────────────────────────────────── */
.features-section { background: var(--off-white); }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feat-card {
    background: var(--white); border-radius: 16px; padding: 28px 24px;
    border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.feat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 16px;
}
.feat-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.6; }

/* ── HOW IT WORKS ─────────────────────────────────────────────── */
.how-section { background: var(--white); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 0; }
.step-card {
    flex: 1; text-align: center; padding: 36px 28px;
    background: var(--off-white); border-radius: 16px;
    border: 1px solid var(--border); max-width: 280px;
}
.step-num {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--teal); color: var(--white);
    font-size: 18px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step-ico { font-size: 30px; color: var(--navy); margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.5; }
.step-arrow { font-size: 22px; color: #cbd5e1; padding: 0 20px; flex-shrink: 0; }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-section { background: var(--off-white); }
.pricing-grid { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.price-card {
    background: var(--white); border-radius: 20px; padding: 40px 36px;
    border: 2px solid var(--border); flex: 1; max-width: 360px;
    position: relative; transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { border-color: var(--teal); box-shadow: 0 8px 40px rgba(8,145,178,.18); }
.price-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--teal); color: var(--white);
    padding: 5px 20px; border-radius: 100px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.price-name { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.price-amount { font-size: 42px; font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1; }
.price-amount span { font-size: 16px; font-weight: 500; color: var(--text-light); }
.price-desc { font-size: 13.5px; color: var(--text-light); margin-bottom: 28px; }
.price-list { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { font-size: 14px; color: var(--text-mid); display: flex; align-items: center; gap: 10px; }
.price-list li .ok  { color: #22c55e; }
.price-list li .no  { color: #e2e8f0; }
.price-list li.off  { color: #94a3b8; }
.btn-price {
    display: block; text-align: center; padding: 14px;
    background: var(--off-white); color: var(--navy); border-radius: 10px;
    font-weight: 700; font-size: 15px; transition: background .2s;
}
.btn-price:hover { background: var(--border); }
.btn-price.featured { background: var(--teal); color: var(--white); }
.btn-price.featured:hover { background: var(--teal-light); }
.price-note {
    text-align: center; margin-top: 28px; font-size: 14px; color: var(--text-light);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.price-note i { color: var(--teal); }

/* ── CTA / CONTACT ────────────────────────────────────────────── */
.cta-section { background: var(--navy); }
.cta-box { display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
.cta-box h2 { font-size: clamp(24px,3vw,32px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-box > div > p { color: #94a3b8; font-size: 15px; margin-bottom: 28px; }
.cta-form { display: flex; flex-direction: column; gap: 14px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cta-form input, .cta-form select {
    padding: 13px 16px; border-radius: 10px; font-family: inherit; font-size: 14px; outline: none;
    border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: var(--white);
    transition: border-color .2s;
}
.cta-form input::placeholder { color: #94a3b8; }
.cta-form select { color: #94a3b8; }
.cta-form select option { color: #1e293b; background: var(--white); }
.cta-form input:focus, .cta-form select:focus { border-color: var(--teal); }
.btn-cta {
    padding: 15px; background: var(--teal); color: var(--white); border: none;
    border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; transition: background .2s;
}
.btn-cta:hover { background: var(--teal-light); }
.cta-success { display: none; align-items: center; gap: 10px; color: #4ade80; font-size: 15px; font-weight: 600; margin-top: 8px; }
.cta-info { display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.cta-info-item { display: flex; align-items: flex-start; gap: 14px; }
.cta-info-item > i { font-size: 18px; color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.cta-info-item strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 3px; }
.cta-info-item span { color: #94a3b8; font-size: 14px; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.pub-footer { background: #0a1f3a; padding: 64px 24px 0; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 38px; }
.footer-logo-text .brand { font-size: 15px; font-weight: 700; color: var(--white); }
.footer-logo-text .sub   { font-size: 11px; color: var(--teal); font-weight: 500; }
.footer-tagline { font-size: 14px; color: #64748b; line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #64748b; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #64748b; margin-bottom: 12px; }
.footer-contact-item i { color: var(--teal); width: 16px; flex-shrink: 0; }
.footer-divider { height: 1px; background: rgba(255,255,255,.08); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 13px; color: #475569; }
.footer-bottom-links { display: flex; gap: 24px; list-style: none; }
.footer-bottom-links a { font-size: 13px; color: #475569; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── RENDEZ-VOUS PAGE ─────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a4480 100%);
    padding: 120px 24px 64px; text-align: center;
}
.page-hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
    background: rgba(8,145,178,.2); border: 1px solid rgba(8,145,178,.4);
    border-radius: 100px; font-size: 13px; color: #7DD3FC; margin-bottom: 20px;
}
.page-hero-title { font-size: clamp(28px,4vw,46px); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.page-hero-desc  { font-size: 16px; color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.section { padding: 64px 24px; }
.section-alt { background: var(--off-white); }
.section-container { max-width: 1100px; margin: 0 auto; }

.rdv-container { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.rdv-sidebar   { display: flex; flex-direction: column; gap: 20px; }

.rdv-info-card, .hours-card, .contact-info-card {
    background: var(--white); border-radius: 16px; padding: 24px;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.rdv-info-title, .hours-card-title {
    font-size: 14px; font-weight: 700; color: var(--navy);
    margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.rdv-info-title i, .hours-card-title i { color: var(--teal); }

.rdv-step { display: flex; gap: 14px; margin-bottom: 16px; }
.rdv-step:last-child { margin-bottom: 0; }
.rdv-step-num {
    width: 28px; height: 28px; border-radius: 50%; background: var(--teal);
    color: var(--white); font-size: 13px; font-weight: 700; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.rdv-step-text { font-size: 13.5px; color: var(--text-mid); line-height: 1.5; padding-top: 3px; }
.rdv-step-text strong { display: block; color: var(--navy); margin-bottom: 2px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hours-table td { padding: 6px 0; color: var(--text-mid); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.hours-table .closed { color: #ef4444 !important; }

.contact-info-card { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(8,145,178,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-info-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 700; color: var(--teal); }
.contact-info-sub   { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.contact-form-card { background: var(--white); border-radius: 20px; padding: 40px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.contact-form-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 28px; }

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.form-input, .form-select, .form-textarea {
    padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 14px; font-family: inherit; color: var(--text-dark); outline: none;
    transition: border-color .2s; background: var(--white); width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--teal); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 12px 16px; border-radius: 10px; font-size: 14px; display: none; }

.btn-form-submit {
    width: 100%; padding: 16px; background: var(--teal); color: var(--white); border: none;
    border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: background .2s;
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px;
}
.btn-form-submit:hover { background: var(--teal-light); }

@media (max-width: 900px) {
    .rdv-container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 24px; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .cta-box { grid-template-columns: 1fr; }
    .cta-info { flex-direction: row; flex-wrap: wrap; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 8px 0; }
    .rdv-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .price-card { max-width: 100%; width: 100%; }
    .sc { padding: 64px 20px; }
    .cta-row { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
    .footer-top { grid-template-columns: 1fr; }
}
