/* ===================================================
   6 COMPANY - PREMIUM CSS 2026 (NOIR & JAUNE)
   Design : fond noir, accents jaune/dégradé
=================================================== */

/* ========= RESET ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========= VARIABLES (NOIR & JAUNE) ========= */
:root {
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #1a1a1a;
    --yellow: #f5b042;
    --yellow-dark: #d48a1c;
    --yellow-gradient: linear-gradient(135deg, #f5b042, #f7c948);
    --white: #ffffff;
    --gray-light: #e5e5e5;
    --gray: #aaaaaa;
    --gray-dark: #6b7280;
    --radius: 20px;
    --radius-lg: 30px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========= CONTAINER ========= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========= TYPOGRAPHIE ========= */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(245, 176, 66, 0.15);
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header p {
    margin-top: 1rem;
    color: var(--gray);
}

/* ========= BOUTONS ========= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--yellow-gradient);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    box-shadow: 0 8px 20px rgba(245,176,66,0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn-outline-primary {
    border: 2px solid var(--yellow);
    background: transparent;
    color: var(--yellow);
}

.btn-outline-primary:hover {
    background: var(--yellow);
    color: var(--black);
}

.btn-outline-light {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--black);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-link {
    color: var(--yellow);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 12px;
    color: var(--yellow-dark);
}

/* ========= NAVBAR (Noir/Jaune) ========= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 10px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--yellow);
}

.logo-text span {
    color: var(--white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > li > a {
    font-weight: 600;
    color: var(--gray-light);
    transition: color 0.3s;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--yellow);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black-light);
    min-width: 220px;
    padding: 0.75rem 0;
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    list-style: none;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--yellow);
}

/* Boutons nav */
.btn-nav {
    background: var(--yellow-gradient);
    color: var(--black) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
}

.btn-nav-outline {
    border: 1px solid var(--yellow);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--yellow) !important;
    background: transparent;
}

.btn-nav-outline:hover {
    background: var(--yellow);
    color: var(--black) !important;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu span {
    width: 28px;
    height: 2px;
    background: var(--gray-light);
    transition: var(--transition);
}

/* ========= HERO ========= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(3px);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--yellow);
}

.hero h1 {
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--gray-light);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========= SECTIONS GÉNÉRALES ========= */
section {
    padding: 80px 0;
}

/* ========= WHO WE ARE ========= */
.who-we-are {
    background: var(--black);
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.who-we-are-content p {
    margin-bottom: 1.2rem;
}

.features-list {
    margin: 1.5rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
}

.features-list li i {
    color: var(--yellow);
    font-size: 1.1rem;
}

.image-placeholder {
    min-height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--black-light), var(--yellow-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder img {
    width: 80%;
    height: auto;
    border-radius: 20px;
}

/* ========= GRILLES ========= */
.domains-grid,
.poles-grid,
.benefits-grid,
.testimonials-grid,
.blog-grid {
    display: grid;
    gap: 1.5rem;
}

.domains-grid {
    grid-template-columns: repeat(4, 1fr);
}

.poles-grid {
    grid-template-columns: repeat(4, 1fr);
}

.benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}

.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.blog-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ========= CARTES (Noir/Jaune) ========= */
.domain-card,
.pole-card,
.benefit-item,
.testimonial-card,
.blog-card {
    background: var(--black-card);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.domain-card:hover,
.pole-card:hover,
.benefit-item:hover,
.testimonial-card:hover,
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow);
}

.domain-icon,
.pole-icon,
.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.domain-card h3,
.pole-card h3,
.benefit-item h3 {
    font-size: 1.2rem;
    color: var(--yellow);
}

.domain-card p,
.pole-card p,
.benefit-item p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.poles {
    background: var(--black-light);
}

/* ========= TÉMOIGNAGES ========= */
.quote-icon {
    color: var(--yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.testimonial-author strong {
    display: block;
    color: var(--yellow);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

.rating i {
    color: #f4b400;
    font-size: 0.8rem;
}

/* ========= BLOG ========= */
.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-content p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ========= CTA FINAL ========= */
.cta-final {
    background: linear-gradient(135deg, var(--black), var(--black-light));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(245,176,66,0.2);
    border-bottom: 1px solid rgba(245,176,66,0.2);
}

.cta-final h2 {
    color: var(--yellow);
}

.cta-final p {
    color: var(--gray-light);
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========= FOOTER (Noir) ========= */
footer {
    background: #050505;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--yellow);
}

.footer-logo h3 span {
    color: var(--white);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--yellow);
}

.footer-col p,
.footer-col a {
    color: #aaa;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--yellow);
    color: var(--black);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #666;
}

/* ========= BACK TO TOP ========= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yellow-gradient);
    color: var(--black);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--yellow-dark);
}

/* ========= ANIMATIONS ========= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
    .domains-grid,
    .poles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefits-grid,
    .testimonials-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .container {
        padding: 0 24px;
    }
    section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--black);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        background: transparent;
        padding-left: 1rem;
        box-shadow: none;
        transform: none;
        width: 100%;
    }
    .dropdown-menu li a {
        padding: 0.4rem 0;
    }
    .domains-grid,
    .poles-grid,
    .benefits-grid,
    .testimonials-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 120px 0 70px;
        min-height: auto;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    section {
        padding: 60px 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .domain-card,
    .pole-card,
    .benefit-item,
    .testimonial-card {
        padding: 1.2rem;
    }
    .image-placeholder {
        min-height: 280px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .section-header h2 {
        font-size: 1.5rem;
    }
    .domain-icon,
    .pole-icon,
    .benefit-icon {
        font-size: 2rem;
    }
}