@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat");

:root {
    --red: #c62828;
    --dark: #1e1e1e;
    --white: #ffffff;
}
@import url("reset.css");

.bold {
    font-weight: bold;
}

h1, h2, h3{
    font-family: "Archivo Black", sans-serif;
}
body {
    font-family: "Montserrat","Montserrat Placeholder", sans-serif;
    color: var(--dark);
}

.animated-text {
    background: linear-gradient(
        to right,
        black 0%,
        black 45%,
        red 45%,
        red 55%,
        black 55%,
        black 100%
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animatedText 4s linear infinite;
}

@keyframes animatedText {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: height 0.35s ease;
}

.navbar.shrink .logo {
    height: 28px;
}


.logo img {
    height: auto;
    max-height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;

    opacity: 1;
    transform: scale(1);

    transition:
        opacity 0.2s ease,
        transform 0.25s ease;
}


.logo img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.logo img.fade-in {
    opacity: 1;
    transform: scale(1);
}


.button-primary {
    background: var(--red);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

button {
    all: unset;
    font-weight: 700;
    cursor: pointer;
    font-family: "Montserrat", "Montserrat Placeholder", sans-serif;
    font-size: 14px;
    font-weight: 600;
}


/* Navbar*/
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: fit-content;
    max-width: calc(100vw - 32px);
    min-height: 64px;

    background: white;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);

    display: flex;
    align-items: center;
    gap: 24px;

    padding: 0 24px;
    z-index: 1000;

    transition:
        min-height 0.35s ease,
        padding 0.35s ease,
        box-shadow 0.35s ease;
}

.navbar.shrink {
    min-height: 52px;
    padding: 0 20px;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.burger img {
    width: 28px;
    height: 28px;
}

@media (max-width: 900px) {

    .burger {
        display: block;
    }

    /* Menu fermé */
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%);

        width: fit-content;
        min-width: 220px;
        max-width: calc(100vw - 32px);

        background: white;
        border-radius: 24px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);

        flex-direction: column;
        align-items: stretch;
        gap: 12px;

        padding: 16px;
        display: none;
    }

    /* Menu ouvert */
    .nav-links.active {
        display: flex;
    }

    .nav-links .button,
    .nav-links .button-primary {
        text-align: center;
        white-space: normal;
    }
}



/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;

    background-image: url("../images/wave-fond.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right center;

    
    display: flex;
    align-items: center;
}

.hero-content {
    width: 50%;
    padding-left: 8%;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

@keyframes redFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-content p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-actions .info {
    font-weight: 600;
    color: var(--dark);
}

.hero-visual {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 420px;
    max-width: 100%;
}

@media (max-width: 900px) {

    .hero {
        background-position: center top;
        background-size: 140%;
    }

    .hero-content {
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
    }
}

/* Section Partenaires */
.partners {
    padding: 60px 0;
    text-align: center;
}

.partners h2 {
    font-size: 24px;
    margin-bottom: 40px;
}

.partners-marquee {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partners-scroll 20s linear infinite;
}

.partners-track img {
    height: 64px;
    margin: 0 50px;
    opacity: 0.8;
    flex-shrink: 0;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* Section Problèmes */
.problems {
    background: linear-gradient(180deg,#fff 0%,#f8f8f6 27.9279%,#f8f8f6 100%);
    flex-flow: column;
    flex: none;
    place-content: center;
    align-items: center;
    gap: 0;
    height: min-content;
    padding: 100px 5%;
    display: flex;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
}

.problems-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 120px;
    flex-wrap: wrap;
}

.circle-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-images img {
    width: 180px;
    max-width: 100%;
}

.problem-text {
    text-align: left;
}

.problem-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.problem-text p {
    max-width: 420px;
    color: #555;
    line-height: 1.6;
}

.problems-bottom {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-top: 80px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.methods {
    max-width: 520px;
    flex: 1;
    min-width: 280px;
}

.methods h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.methods > p {
    margin-bottom: 32px;
}

.method-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.method-item img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    align-self: center;
}

.method-item p {
    line-height: 1.6;
    flex: 1;
}

.methods-images {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 40px;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.methods-images img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {

    .section-title {
        font-size: 28px;
    }

    .problems-top,
    .problems-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .problem-text {
        text-align: center;
    }

    .problem-text h3 {
        font-size: 24px;
    }

    .methods {
        margin: 0 auto;
        text-align: center;
    }

    .methods h3 {
        font-size: 24px;
    }

    .method-item {
        text-align: left;
    }

    .methods-images {
        grid-template-columns: repeat(2, 120px);
        justify-content: center;
        margin: 0 auto;
    }

    .circle-images {
        width: 100%;
        justify-content: center;
    }
}

/* Section Notre solution */

.tool {
    background: #333540;
    color: #fff;
    padding: 120px 8%;
}

.tool-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.tool-content {
    max-width: 520px;
}

.tool-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.tool-list {
    list-style: none;
}

.tool-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    margin-bottom: 24px;
}

.tool-list li img {
    width: 48px;
    height: auto;
}

.tool-visual img {
    max-width: 820px;
    width: 100%;
}

.tool-features {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    font-size: 18px;
}

.tool-features img {
    width: 48px;
    height: auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 600;
}

.feature img {
    width: 48px;
    height: auto;
}

@media (max-width: 900px) {

    .tool-top {
        flex-direction: column;
        text-align: center;
    }

    .tool-features {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Testimonial */

.testimonial {
    background: #1f2228;
    padding: 120px 8%;
    color: #fff;
      text-align: center;

}

.testimonial-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.testimonial-photo img {
    width: 160px;
    height: 160px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 500;
    max-width: 720px;
    margin-bottom: 40px;
}

.testimonial-author strong {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

.testimonial-author span {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.4;
}

.scroll-text {
  font-size: 2rem;
  font-weight: 700;
  white-space: pre-wrap;
}

@media (max-width: 900px) {

    .testimonial-container {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-quote {
        font-size: 30px;
    }
}



/* Team */
.team {
    background: #faf9f6;
    padding: 80px 8%;
}

.team-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.team-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.team-header p {
    color: #555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
    gap: 40px;
    justify-content: center;
}

.team-card {
    width: 320px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}

.team-card img {
    width: 120px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
}

.team-info .role {
    font-size: 14px;
    color: #777;
}

.team-info h3 {
    font-size: 20px;
    margin: 6px 0 12px;
}

.team-info p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.linkedin img {
    width: 36px;
    height: 36px;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 1000px) {

    .team-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        max-width: 320px;
        width: 100%;
    }

    .team-card img {
        width: 140px;
        height: 180px;
    }

    .linkedin img {
    width: 36px;
    height: 36px;
    border-radius: 16px;
    object-fit: cover;
    }
}


.contact-section {
    display: flex;
    justify-content: center;
    padding: 96px 16px;
}

.contact-form {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);

    padding: 40px;
    width: 100%;
    max-width: 480px;

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form h2 {
    font-size: 32px;
}

.contact-intro {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.8;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;

    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.1);

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(198,40,40,0.15);
}

.button-primary {
    margin-top: 8px;
    padding: 14px 24px;

    border-radius: 999px;
    border: none;

    background: var(--red);
    color: var(--white);

    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 15px;

    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(198,40,40,0.3);
}

.button-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(198,40,40,0.25);
}



/* Footer */
.site-footer {
    background: #191B21;
    color: #fff;
    padding: 40px 8% 30px;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 600;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.mail-icon {
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

@media (max-width: 900px) {

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

}
