html, body{
    margin: 0px;
    padding: 0px;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*{
    font-family: 'Inter';
}

:root 
{
    --cta-width: 280px;
    --cta-heigth: 40px;
    --neon-line-color: #a4f4ff; 
}

.article-container
{
    width: 50%;
    text-align: justify;
    margin: 50% auto;
    margin-top: 150px;
    margin-bottom: 0px;
    font-family: 'PTSans';
}

.automation-lightning
{
    width: 125px;
    height: 125px;
}

.article-container .article-content
{
    font-size: 1.05rem;
}

.article-container p, .article-container div
{
    font-family: 'PTSans';
}

h1, h2, h3{
    font-family: 'Inter';
    font-weight: 700;
}

header{
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
    backdrop-filter: blur(10px);
}

header a  
{
    text-decoration: none;
}

.header-content
{
    margin: 0px 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.header-content a
{
    color: black;
}

.logo-link 
{
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-title{
    display: flex;
    margin: 1.35rem 0px;
}

.header-logo-container {
    display: flex;
    gap: 8px; /* équivalent de gap: 1 (MUI utilise généralement un facteur de 8px) */
    align-items: center;
}

.header-logo {
    width: 30px;
    height: 30px;
}

.logo-title-factu{
    font-size: 22px;
    color: #00A2C7;
    font-weight: 700;
}

.logo-title-zen{
    color: black;
    font-size: 22px;
    font-weight: 700;
}

.header-cta-button {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    color: #00bcd4 !important;
    background-color: white;
    border: 2px solid #00bcd4;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-cta-button:hover {
    background-color: #00bcd4;
    color: white !important;
}

.header-line{
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    margin: 0px;
}

.container-waves {
    text-align: center;
    position: relative;
    width: 100%;
}

.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.flipped {
    transform: scaleY(-1);
    transform-origin: bottom;
    margin-top: -160px;
}

.container-welcome-texts .welcome-text-secondary
{
    text-align: center;
    text-wrap: balance;
    font-weight: 500;
    font-size: 1.5rem;
}

.container-test-free a{
    color: white;
    font-weight: 600;
}

.hero-banner
{
    font-size: 3rem;
    font-weight: 600;
    text-wrap: balance;
    max-width: 50%;
    margin: 75px auto;
    margin-top: 200px;
}

.cta-button-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.cta-button-wrap a
{
    min-width: var(--cta-width);
    min-height: var(--cta-heigth);
    display: inline-flex;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    color: rgb(255, 255, 255);
    background: #4FD1C5;
    background: linear-gradient(90deg, rgba(129,230,217,1) 0%, rgba(0, 188, 212, 1) 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgba(79,209,197,.64);
    transition: all 0.3s ease-in-out 0s;
    outline: none;
    position: relative;
    padding: 10px;
}

.cta-button-wrap a::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(var(--cta-width) + 12px);
    min-height: calc(var(--cta-heigth) + 12px);
    border: 6px solid #00FFCB;
    box-shadow: 0 0 60px rgba(0,255,203,.64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
}
    
.cta-button-wrap a:hover, 
.cta-button-wrap a:focus {
    transform: translateY(-6px);
}

.cta-button-wrap a:hover::before, 
.cta-button-wrap a:focus::before {
    opacity: 1;
}

.cta-button-wrap a::after {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid #00FFCB;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.cta-button-wrap a:hover::after, 
.cta-button-wrap a:focus::after {
    animation: none;
    display: none;
}

.features-list
{
    margin-top: 150px;
    padding: 0px 15%;
}

.features-banner{
    color: #00A2C7;
    font-size: 1.5rem;
    white-space: nowrap;
}

.header-title{
    font-size: 3.5vw;
    font-family: 'Inter';
    font-weight: 600;
    margin-top: 100px;
    text-align: center;
}

.fade-in-text 
{
    opacity: 0; /* Initial opacity set to 0 */
    transition: opacity 1s ease-in-out;
}
  
.fade-in 
{
    opacity: 1;
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.feature-container .feature-content {
    flex-shrink: 1;
    text-align: justify;
    font-size: 1rem;
    max-width: 45%;
}

.feature-content h2 {
    font-size: 1.15rem;
}

.icon-features {
    width: 100px;
    height: 100px;
    margin-top: 120px;
    margin-bottom: 10px;
    z-index: 1;
}

.container-key-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
}

.container-key-text p{
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Inter';
}

.divider-features{
    align-items: center;
    width: 100%;
    color: #a4f4ff;
    border: 1px solid #a4f4ff;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    margin-top: 40px;
    margin-bottom: 40px;
    z-index: 1;
}

.container-faq-list{
    padding-left: 40px;
    padding-right: 40px;
    width: 70%;
    flex-direction: column;
    align-items: center; 
    margin: 0 auto;  
}

.container-footer {
    padding-top: 100px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-footer {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.logo-footer-factu {
    font-size: 30px;
    color: #00A2C7;
    font-weight: 700;
}

.logo-footer-zen {
    font-size: 30px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    font-size: 1rem; 
    color: #00A2C7;
}

h4{
    color: #00A2C7;
    font-size: 0.8vw;
    font-weight: 400;
    font-family: 'Inter';
}

.made-with-heart-container {
    position: fixed;
    bottom: 10px;
    width: 100%;
    font-size: 0.75rem;
    text-align: center;
}

.presentation-video-container
{
    display: flex;
    justify-content: center;
    margin: 200px 0px;
}

.presentation-video-container iframe 
{
    width: 50%;
    aspect-ratio: 16/9;
}

#scroll-progress {
    position: fixed;
    bottom: 0px;
    width: 0%;
    height: 8px;
    background: #00a2c7;
    z-index: 10000;
}

.container-footer .socials{
    cursor: pointer;
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: wrap;
}

.container-footer a{
    text-decoration: none;
}

.container-simulateur{
    width: 50%;
    margin: 50% auto;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: 'PTSans';
    padding-top: 100px;
}

.container-simulateur h1{
    color: #00A2C7;
}

.legal-container
{
    width: 50%;
    text-align: justify;
    margin: 50% auto;
    margin-top: 100px;
    margin-bottom: 0px;
    font-family: 'PTSans';
}

.legal-container p, .legal-container div
{
    font-family: 'PTSans';
}

.legal-container
{
    width: 80%;
}

.feature-invoice-container
{
    background-color: #23c5da;
    border-radius: 25px;
    width: 45%;
    aspect-ratio: 15/10;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0px 0px 30px -6px black;
}

.image-invoice
{
    position: absolute;
    bottom: 0;
    width: 85%;
    height: auto;
    left: 50%;
    top: 200%;
    border-radius: 25px;
    transform: translate(-50%, -50%);
    transition: 1s top ease;
}

.image-invoice.visible
{
    top: 75%;
}

.accordion {
    background-color: transparent;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    outline: none;
    transition: 0.4s;
    color: #00A2C7;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Inter';
    text-align: left;
}

.accordion.active + .faq-panel 
{
    padding-bottom: 20px;
}
  
.faq-panel {
    width: 750px;
    max-width: 90%;
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    text-align: justify;
    transition: max-height 0.2s ease-out;
}

.faq-panel li {
    margin: 15px 0px;
}

.faq {
    width: 820px;
    max-width: 100%;
    margin: 32px auto 0;
    display: grid;
    gap: 14px;
}

.faq details {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 251, 253, 0.98) 100%);
    border: 1px solid rgba(0, 162, 199, 0.16);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 162, 199, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq details:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(0, 162, 199, 0.12);
    border-color: rgba(0, 162, 199, 0.28);
}

.faq details[open] {
    border-color: rgba(0, 162, 199, 0.34);
    box-shadow: 0 24px 50px rgba(0, 162, 199, 0.14);
}

.faq summary {
    list-style: none;
    position: relative;
    cursor: pointer;
    padding: 22px 64px 22px 24px;
    color: #008aa9;
    font-family: 'Inter';
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 162, 199, 0.1);
    color: #00A2C7;
    font-size: 1.4rem;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq details[open] summary::after {
    content: '−';
    background: #00A2C7;
    color: #ffffff;
}

.faq p {
    margin: 0;
    padding: 0 24px 24px;
    color: #2f4b53;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
}
  
.automation-block {
    max-width: 100%;
    padding: 2rem 1rem;
    text-align: center;
    margin: 150px 0px;
    margin-top: 325px;
}

.automation-content {
    flex: 1;
}

.title-faq 
{
    font-size: 2rem;
    font-weight: bold;
}

.automation-title{
    margin-bottom: 1rem;
    margin-top: 0;
    color: #333;
}

.automation-content .subtitle {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.automation-content .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

.automation-content .features-list li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.automation-content .features-list li::before {
    content: '✔';
    color: #4caf50;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .automation-block {
        flex-direction: column;
        text-align: center;
    }

    .automation-content {
        margin-bottom: 2rem;
    }
}
  
.blog-section {
    padding: 60px 20px;
    margin-top: 50px;
    background-color: #f9f9f9;
    text-align: center;
}
  
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}
  
.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
  
.section-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}
  
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
  
.blog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}
  
.blog-card:hover {
    transform: translateY(-5px);
}
  
.blog-image {
    width: 100%;
    height: auto;
}
  
.blog-content {
    padding: 20px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
  
.blog-tag {
    border: 2px solid #23c5da;
    color: #23c5da;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 16px;
    margin-bottom: 10px;
    align-self: flex-start;
}
  
.blog-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
}
  
.blog-summary {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}
  
.blog-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 20px;
}
  
.blog-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #23c5da;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    align-self: flex-start;
}
  
.blog-button:hover {
    background-color: #17a2b4;
}
  
.see-more {
    margin-top: 30px;
}
  
.see-more-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #23c5da;
    text-decoration: none;
    border: 2px solid #23c5da;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.see-more-button:hover {
    background-color: #23c5da;
    color: #fff;
}
  
.header-nav
{
    display: flex;
    flex: 1;
    align-items: center; 
    gap: 50px;
}

.header-nav-links
{
    display: flex;
    gap: 50px;
}

.hamburger {
    width: 35px;
    height: 25px;
    background: none;
    border: 0;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    border-radius: 16px;
    background: black;
    transition: 0.3s;
}

.menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease-in-out;

}

.menu.active {
    height: calc(100vh - 60px);
}

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

.menu ul li {
    border-bottom: 1px solid black;
}

.menu ul li a {
    width: 100%;
    padding: 16px;
    display: inline-block;
}

.newsletter-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 25px;
}

.newsletter-card h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.newsletter-card p {
    color: #555;
}

.newsletter-card input {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px 0px 0px 8px;
    font-size: 1rem;
    outline: 0;
}

.newsletter-card button {
    background-color: #00bcd4;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0px 8px 8px 0px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-card button.subscribed{
    background-color: green;
    pointer-events: none;
}

.newsletter-card button:hover {
    background-color: #0056b3;
}

.why-factulo-section {
    margin: 0 auto;
    margin-top: 8rem;
    margin-bottom: 8rem;
    max-width: 900px;
    line-height: 1.5;
}

.why-factulo-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.why-factulo-section p, .why-factulo-section li {
    text-align: justify;
    font-size: 1rem;
}

.why-factulo-section ul {
    list-style: disc;
    margin-left: 1.5rem;
}
  