/* =============== RESET & BASE =============== */
*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: "deuterium-variable", sans-serif;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: #fff;
}

/* =============== VARIABLES =============== */
:root {
    --color-primary: #A8FF99;
    /* Vert techno clair */
    --color-secondary: #F0B7FF;
    /* Violet néon */
    --color-tertiary: #8FC3FF;
    /* Turquoise néon */
    --color-quaternary: #ffe5ae;
    /* Jaune néon */
    --color-primary-hover: #a8ff99bf;
    /* Vert techno foncé */
}

/* =============== MAIN =============== */
.main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('assets/img_background.jpg') center center / cover no-repeat;
}


/* =============== GLASSOMORPHISM =============== */
.glass {
    background: rgba(24, 24, 36, 0.33);
    border-radius: 32px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.13);
    padding: 32px;
    margin: 40px auto;
    max-width: 950px;
    width: 95vw;
    transition: background 0.3s;
}


/* =============== DIVIDER =============== */
hr {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

/* =============== LAYOUT =============== */

.center {
    justify-content: center;
}

/* =============== ANIMATIONS =============== */

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.animation-delay-1 {
    animation-delay: 0.2s;
}

.animation-delay-2 {
    animation-delay: 0.4s;
}

.animation-delay-3 {
    animation-delay: 0.6s;
}

.animation-delay-4 {
    animation-delay: 0.8s;
}

.opacity-0 {
    opacity: 0;
}

/* =============== HERO SECTION =============== */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    align-items: center;
}

.hero-section__logo {
    width: auto;
    height: 80px;
}

.hero-section__title {
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

.hero-section__highlight {
    display: inline-block;
    margin-top: 8px;
    color: var(--color-primary);
    font-weight: 600;
}

/* =============== DESCRIPTION =============== */
.description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 980px;
    padding: 0 16px;
    text-align: center;
}

.description__text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
}

.description__more {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
}

/* =============== SERVICES =============== */
.services {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.services__main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: start;
    text-align: left;
}

.services__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.services__icon {
    min-width: 16px;
    height: 16px;
}

.services__icon--primary {
  background-color: var(--color-primary);
}

.services__icon--secondary {
  background-color: var(--color-secondary);
}

.services__icon--tertiary {
  background-color: var(--color-tertiary);
}

.services__icon--quaternary {
  background-color: var(--color-quaternary);
}

.services__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.services__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;
}

.services__desc {
  font-size: 0.95rem;
  font-weight: 400;
  color: #ffffffab;
  line-height: 1.3;
}

/* Réactivité optimale */
@media screen and (max-width: 768px) {
  .services__grid {
        grid-template-columns: 1fr;
    }
}

/* =============== CONTACT =============== */
.contact {
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.contact__title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.contact__actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.contact__link i {
    font-size: 0.9rem;
    margin-right: 4px;
}

.contact__link:hover {
    color: var(--color-primary-hover);
}

.contact__divider {
    width: 1.25rem;
    height: 2px;
    transform: rotate(90deg);
    background-color: #fff;
    border: none;
}

/* =============== TABLETTE (≤768px) =============== */
@media screen and (max-width: 768px) {
    .hero-section__title {
        font-size: 2rem;
    }

    .header__logo-img {
        height: 80px;
    }

    .hero-section {
        padding: 0 16px;
    }

    .glass {
        padding: 24px 16px;
        max-width: 98vw;
    }

    .services {
        flex-direction: column;
        gap: 20px;
    }

    .services__item {
        justify-content: center;
    }

    .services__text {
        font-size: 0.95rem;
    }

    .services__icon {
        width: 14px;
        height: 14px;
    }

    hr {
        width: 60%;
    }

    .contact__link {
        font-size: 0.95rem;
    }
}

/* =============== MOBILE (≤600px) =============== */
@media screen and (max-width: 600px) {
    .hero-section__title {
        font-size: 1.5rem;
        letter-spacing: -1px;
    }

    .hero-section {
        gap: 16px;
    }

    .services {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
    }

    .services__text {
        font-size: 0.9rem;
    }

    .services__icon {
        min-width: 12px;
        min-height: 12px;
    }

    hr {
        width: 90%;
    }

    .contact__link {
        font-size: 0.9rem;
    }
}

/* =============== KEYFRAMES =============== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
