*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    background: #ffffff;
    color: #1f2937;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

nav{
    background: #111827;
    padding: 20px 0;
}

nav .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo{
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo-box{
    width: 45px;
    height: 45px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    color: white;
}

nav ul{
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li a{
    color: white;
    text-decoration: none;
    transition: .3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover{
    color: #3b82f6;
}

nav ul li a.active{
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

/* ---------- Hero (page d'accueil) ---------- */
.hero{
    padding: 120px 20px;
    text-align: center;
}

.hero h1{
    font-size: 60px;
    margin-bottom: 20px;
    color: #111827;
    line-height: 1.15;
}

.hero p{
    max-width: 700px;
    margin: auto;
    color: #4b5563;
    line-height: 1.8;
    font-size: 18px;
}

.hero-buttons{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero button{
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: .2s;
}

/* ---------- En-tête des sous-pages ---------- */
.page-hero{
    padding: 70px 20px 50px;
    text-align: center;
    background: #111827;
}

.page-hero .eyebrow{
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-hero h1{
    color: #fff;
    font-size: 42px;
    margin-bottom: 14px;
}

.page-hero p{
    color: #9ca3af;
    max-width: 620px;
    margin: auto;
    font-size: 16.5px;
    line-height: 1.7;
}

/* ---------- Boutons ---------- */
.btn-primary{
    background: #2563eb;
    color: white;
}

.btn-primary:hover{
    background: #1d4ed8;
}

.btn-outline{
    background: transparent;
    color: #111827;
    border: 1.5px solid #d1d5db !important;
}

.btn-outline:hover{
    background: #f3f4f6;
    border-color: #9ca3af !important;
}

a.btn-primary, a.btn-outline{
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: .2s;
    border: none;
}

/* ---------- Stats ---------- */
.stats{
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 20px;
    flex-wrap: wrap;
}

.stat{
    text-align: center;
}

.stat h2{
    color: #2563eb;
    font-size: 40px;
    margin: 0;
}

.stat p{
    color: #6b7280;
}

/* ---------- Featured Tools ---------- */
.tools{
    padding: 80px 20px;
}

.tools h2{
    text-align: center;
    font-size: 34px;
    color: #111827;
    margin-bottom: 12px;
}

.tools > .container > p{
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.tool-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-row{
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 26px;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.tool-row:hover{
    border-color: #93c5fd;
    box-shadow: 0 10px 25px -12px rgba(37,99,235,0.25);
}

.tool-row .icon{
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.tool-row .info{
    flex: 1;
}

.tool-row h3{
    font-size: 17px;
    color: #111827;
    margin-bottom: 4px;
}

.tool-row p{
    font-size: 14px;
    color: #6b7280;
}

.tool-row .status{
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.status.live{
    background: #dcfce7;
    color: #15803d;
}

.status.soon{
    background: #fef3c7;
    color: #a16207;
}

.tool-row a.try{
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s ease;
}

.tool-row a.try:hover{
    background: #1d4ed8;
}

@media (max-width: 640px){
    .tool-row{
        flex-wrap: wrap;
    }
    .tool-row .info{
        min-width: 60%;
    }
}

/* ---------- Projects ---------- */
.projects{
    padding: 80px 20px;
    background: #f9fafb;
}

.projects h2{
    text-align: center;
    font-size: 34px;
    color: #111827;
    margin-bottom: 12px;
}

.projects > .container > p{
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 16px;
}

.project-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.project-card{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
}

.project-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(17,24,39,0.15);
}

.project-card .icon{
    width: 46px;
    height: 46px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.project-card h3{
    font-size: 19px;
    color: #111827;
    margin-bottom: 10px;
}

.project-card p{
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-card .tags{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.project-card .tags span{
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
}

.project-card a{
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.project-card a:hover{
    text-decoration: underline;
}

.project-card .status-badge{
    position: absolute;
    top: 20px;
    right: 20px;
}

/* ---------- Blog ---------- */
.blog-section{
    padding: 80px 20px;
    min-height: 40vh;
}

.blog-empty{
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 30px;
    border: 1.5px dashed #d1d5db;
    border-radius: 16px;
}

.blog-empty .icon{
    width: 64px;
    height: 64px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.blog-empty h3{
    font-size: 21px;
    color: #111827;
    margin-bottom: 10px;
}

.blog-empty p{
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.notify-form{
    display: flex;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.notify-form input{
    flex: 1;
    min-width: 200px;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.notify-form input:focus{
    border-color: #2563eb;
}

.notify-form button{
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.notify-form button:hover{
    background: #1d4ed8;
}

/* ---------- Contact ---------- */
.contact-section{
    padding: 80px 20px;
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2{
    font-size: 24px;
    color: #111827;
    margin-bottom: 14px;
}

.contact-info p{
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.contact-channel{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-channel .icon{
    width: 42px;
    height: 42px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-channel a, .contact-channel span{
    color: #111827;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
}

.contact-channel a:hover{
    color: #2563eb;
}

.contact-channel small{
    display: block;
    color: #9ca3af;
    font-weight: 400;
    font-size: 12.5px;
}

.social-row{
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.social-icon{
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-icon svg{
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover{
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ---------- Services ---------- */
.services-section{
    padding: 80px 20px;
}

.service-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 34px 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -14px rgba(37,99,235,0.25);
    border-color: #bfdbfe;
}

.service-card .icon{
    width: 52px;
    height: 52px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3{
    font-size: 19px;
    color: #111827;
    margin-bottom: 10px;
}

.service-card p{
    color: #6b7280;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.service-card ul{
    list-style: none;
    margin-bottom: 20px;
}

.service-card ul li{
    color: #4b5563;
    font-size: 13.5px;
    padding: 5px 0 5px 22px;
    position: relative;
}

.service-card ul li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

.service-card a{
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.service-card a:hover{
    text-decoration: underline;
}

.services-cta{
    text-align: center;
    margin-top: 50px;
    padding: 44px 20px;
    background: #f9fafb;
    border-radius: 16px;
}

.services-cta h3{
    font-size: 22px;
    color: #111827;
    margin-bottom: 10px;
}

.services-cta p{
    color: #6b7280;
    font-size: 14.5px;
    margin-bottom: 22px;
}

.contact-form{
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 34px;
}

.contact-form .field{
    margin-bottom: 18px;
}

.contact-form label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color: #2563eb;
}

.contact-form button{
    width: 100%;
    padding: 13px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover{
    background: #1d4ed8;
}

.contact-note{
    font-size: 12.5px;
    color: #9ca3af;
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 800px){
    .contact-grid{
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer ---------- */
footer{
    padding: 40px 20px;
    text-align: center;
    background: #111827;
}

footer h2{
    color: #fff;
}

footer .links{
    margin: 20px 0;
}

footer .links a{
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

footer p{
    color: #9ca3af;
}

@media (max-width: 768px){
    .hero{ padding: 80px 20px; }
    .hero h1{ font-size: 38px; }
    .hero p{ font-size: 16px; }
    .stats{ gap: 40px; }
    nav ul{ gap: 16px; justify-content: center; }
    .tools h2, .projects h2{ font-size: 26px; }
    .page-hero h1{ font-size: 30px; }
}
