/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Couleurs principales - Palette plus douce, chaleureuse et très accessible (Teintes pastels / nature) */
    --color-primary: #1e3a8a;
    /* Bleu marine doux mais lisible */
    --color-primary-light: #2563eb;
    --color-secondary: #0ea5e9;
    /* Bleu clair rassurant et amical */
    --color-secondary-hover: #0284c7;
    --color-accent: #f59e0b;
    /* Jaune/Ambre chaleureux pour adoucir le côté "tech" */

    --color-bg: #FFFFFF;
    --color-bg-light: #f8fafc;
    --color-text-main: #334155;
    --color-text-muted: #64748b;
    --color-white: #FFFFFF;
    --color-border: #e2e8f0;

    /* Typographie : Quicksand apporte beaucoup de douceur et de lisibilité */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espacements fluides */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-section: clamp(4rem, 8vw, 7rem);

    /* Ombres et Rayons - Plus arrondis pour être plus "friendly" */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    /* Base lisible */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ==========================================================================
   Utilitaires & Composants
   ========================================================================== */
.bg-light {
    background-color: var(--color-bg-light);
}

.text-accent {
    color: var(--color-secondary) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50px;
    /* Boutons en pilule, très friendly */
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1.05rem;
    border: 2px solid transparent;
}

.btn.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-bg-light);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(245, 158, 11, 0.15);
    /* Accent Ambre doux */
    color: #d97706;
    /* texte ambre plus foncé */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.brand i {
    color: var(--color-accent);
    /* Logo smiley/icone plus chaleureux */
    font-size: 2rem;
}

.brand-text span {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--color-secondary);
    border-radius: 3px;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: 1rem;
    display: none;
    border-top: 1px solid var(--color-border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 0;
    color: var(--color-text-main);
}

@media (max-width: 900px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: calc(90px + var(--space-section)) 0 var(--space-section);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f0f9ff;
    /* Fond bleu très très clair et accueillant */
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
    animation: float 12s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--color-accent);
    opacity: 0.15;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: var(--color-secondary);
    opacity: 0.15;
    animation-delay: -6s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 40px) scale(1.1);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-text {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-main);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Sections Générales
   ========================================================================== */
.section {
    padding: var(--space-section) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-secondary);
    background: rgba(14, 165, 233, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

/* ==========================================================================
   B2C Section (Features - Aide aux particuliers)
   ========================================================================== */
.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    text-align: center;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f9ff;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.feature-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   B2B Section (Cards - Pros)
   ========================================================================== */
.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: #eff6ff;
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   À Propos
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/4;
    /* Format plus carré/rond */
    background: #fdf6e3;
    /* beige doux */
    border-radius: 50%;
    /* Image ronde très amicale */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 8rem;
    border: 12px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--color-text-main);
}

.about-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-heading);
}

.about-list i {
    color: #10b981;
    /* Vert positif pour les checks */
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
    background-color: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    padding-top: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-desc {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-size: 1.15rem;
}

.method-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.method-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary-light);
}

.method-item h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.method-item p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition-fast);
    background-color: var(--color-bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-white);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand .brand i {
    color: var(--color-accent);
}

.footer-brand p {
    max-width: 350px;
    font-size: 1.05rem;
}

.footer-links h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

/* ==========================================================================
   Animations Reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}