* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(rgba(4, 10, 24, 0.78), rgba(4, 10, 24, 0.78)),
        url('images/fond.jpg') center/cover fixed;
    color: #f5f7fb;
}

input,
textarea,
button {
    font: inherit;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(7, 11, 27, 0.9), rgba(7, 11, 27, 0.6));
    backdrop-filter: blur(10px);
}

.navbar {
    width: min(1120px, 92%);
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.links {
    display: flex;
    gap: 1.8rem;
}

.links a {
    color: #d7deee;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #f5a623;
}

.buttons,
.buttons-burger-menu {
    display: flex;
    gap: 0.7rem;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.action-button.primary,
.action-button:not(.pro) {
    background: linear-gradient(90deg, #f5a623, #ff6a3d);
    color: #fff;
}

.action-button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.action-button.pro {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.burger-menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}

.burger-menu {
    display: none;
    position: absolute;
    right: 1rem;
    top: 78px;
    width: min(280px, 92%);
    background: rgba(9, 13, 28, 0.95);
    border-radius: 16px;
    padding: 0.8rem;
    overflow: hidden;
    transition: height 0.2s ease;
}

.burger-menu.open {
    display: block;
}

.burger-menu li {
    padding: 0.7rem 0;
}

.burger-menu a {
    color: #eef3ff;
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0 0.8rem;
}

.hero {
    position: relative;
    padding: 5rem 0 5rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.55)),
        radial-gradient(circle at top right, rgba(245, 166, 35, 0.1), transparent 18%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.9;
    margin: 0.3rem 0 1rem;
}

.hero-text p {
    max-width: 56ch;
    color: #dce3f7;
    font-size: 1rem;
    line-height: 1.7;
}

.eyebrow {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    color: #ffd98a;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    margin: 1.6rem 0;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats div {
    min-width: 110px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.hero-stats strong {
    display: block;
    font-size: 1.5rem;
    color: #fff;
}

.hero-stats span {
    font-size: 0.85rem;
    color: #cbd5f1;
}

.hero-media {
    display: flex;
    justify-content: center;
}

#slider {
    position: relative;
    width: min(560px, 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

#slider img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

#precedent { left: 1rem; }
#suivant { right: 1rem; }

#slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(245, 166, 35, 0.7);
}

.info-section,
.results-section,
.blog-section,
.partners-section,
.contact-section {
    padding: 5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.info-card,
.profile-card,
.result-card,
.blog-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.info-card {
    padding: 2rem;
}

.info-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.65rem 0;
    color: #eef3ff;
}

.info-card i {
    color: #f5a623;
    margin-top: 0.2rem;
}

.profile-card {
    padding: 2rem;
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.14), rgba(255, 255, 255, 0.04));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-badge {
    align-self: flex-start;
    font-size: 0.8rem;
    color: #ffd98a;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.8rem;
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
}

.profile-card p {
    color: #dce3f7;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.profile-highlights {
    display: flex;
    gap: 1rem;
}

.profile-highlights div {
    flex: 1;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 14px;
}

.profile-highlights strong {
    display: block;
    font-size: 1.8rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.result-card {
    padding: 1.8rem 1.2rem;
    text-align: center;
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.18), rgba(255, 106, 61, 0.14));
}

.result-label {
    color: #ffd98a;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.result-card h3 {
    font-size: 2.3rem;
    margin-bottom: 0.4rem;
}

.result-card span {
    color: #dce3f7;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.blog-card {
    padding: 1.5rem;
}

.blog-date {
    display: inline-block;
    color: #ffd98a;
    font-size: 0.82rem;
    margin-bottom: 0.8rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.blog-card p {
    color: #dce3f7;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-card a {
    color: #fff;
    font-weight: 600;
}

.slider-partners {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1rem 0;
}

.brands {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.brands iconify-icon {
    font-size: 2rem;
    color: #fff;
    opacity: 0.85;
}

.contact-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(12px);
}

.contact-info {
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.1), rgba(255, 255, 255, 0.04));
    border-radius: 18px;
    padding: 1.6rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.contact-info p {
    color: #dce3f7;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #eef3ff;
}

.contact-list i {
    color: #f5a623;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: #fff;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aab7db;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(245, 166, 35, 0.65);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form button {
    align-self: flex-start;
}

.form-success {
    display: none;
    margin-top: 0.2rem;
    color: #9dffb3;
    font-size: 0.95rem;
}

.form-success.show {
    display: block;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 18, 0.78);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 999;
}

.modal.hidden {
    display: none;
}

.modal-content {
    position: relative;
    width: min(560px, 100%);
    background: linear-gradient(180deg, #101a38, #0d1328);
    color: #f7f9ff;
    border-radius: 22px;
    padding: 2rem;
    text-align: center;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-modal-content {
    text-align: left;
}

.modal-content h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    color: #fff;
}

.modal-content p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #dfe6fb;
    margin-bottom: 0.9rem;
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-btn {
    margin-top: 0.8rem;
    background: linear-gradient(90deg, #f5a623, #ff6a3d);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

footer {
    padding: 1.8rem 0;
    background: rgba(0, 0, 0, 0.32);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #d7deee;
}

@media (max-width: 980px) {
    .links,
    .buttons {
        display: none;
    }

    .burger-menu-button {
        display: block;
    }

    .hero-content,
    .info-grid,
    .blog-grid,
    .results-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    #slider img {
        height: 520px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .profile-highlights,
    .form-row {
        flex-direction: column;
    }

    .form-row {
        display: flex;
    }

    .contact-card,
    .contact-info,
    .contact-form {
        padding: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    #slider img {
        height: 420px;
    }
}