:root {
    --primary: #289984;
    --primary-dark: #1f7a69;
    --primary-soft: #eef8f6;
    --primary-light: #f8fdfc; /* Contraste accentué pour l'alternance */
    --dark: #1a1a1a;
    --text-light: #5f6c72;
    --white: #ffffff;
    --border-color: #e9ecef;
}

/* ===== Base & Typo ===== */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    padding-top: 70px;
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, .h1 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

/* ===== Fix SEO Underline (H2 After) ===== */
h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 25px;
    display: block; 
}

h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 10px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-primary h2::after {
    background-color: var(--white);
}

p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== Navbar ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

/* ===== Hero Section (Hauteur réduite) ===== */
.hero {
    background: radial-gradient(circle at top right, var(--primary-soft) 0%, #ffffff 100%);
    padding: 80px 0; 
    border-bottom: 1px solid var(--border-color);
}

/* ===== Sections (Marges réduites) ===== */
.section {
    padding: 60px 0; 
    border-bottom: 1px solid transparent;
}

.section-soft {
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-primary {
    background-color: var(--primary);
    border: none;
}

/* ===== Boutons ===== */
.btn-primary {
    background-color: var(--primary);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40,153,132,0.25);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ===== Listes ===== */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 8px 0 8px 40px;
    position: relative;
    font-weight: 500;
}

.custom-list li::before {
    content: "\F272";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 12px;
    width: 26px;
    height: 26px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

/* ===== Blocs SaaS & Références ===== */
.saas-box {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.saas-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

/* ===== Section Témoignages ===== */
.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    height: 100%;
    position: relative;
}

.testimonial-card i.quote-icon {
    font-size: 2rem;
    color: var(--primary-soft);
    position: absolute;
    top: 20px;
    right: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* ===== Slider Captcha ===== */
.captcha-container {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 30px;
    position: relative;
}

.slider-track {
    height: 44px;
    background: #eee;
    border-radius: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-text {
    font-size: 13px;
    color: #888;
    z-index: 1;
    user-select: none;
}

.slider-handle {
    width: 50px;
    height: 44px;
    background: var(--primary);
    border-radius: 22px;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transition: background 0.3s;
}

.slider-handle:hover {
    background: var(--primary-dark);
}

/* ===== Footer ===== */
footer {
    background: var(--dark);
    color: white;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .hero { padding: 50px 20px; }
    h1 { font-size: 1.8rem; }
}
