/* ===== VARIABLES ===== */
:root {
    --color-bg: #101820;
    --color-accent: #FEE715;
    --color-accent-light: #FFD700;
    --color-text: #FFFFFF;
    --color-text-secondary: #B0B0B0;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(254, 231, 21, 0.15);
    --container-width: 1200px;
    --color-error: #ff4d4d;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 7rem 0;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--color-accent), var(--color-accent-light));
    color: var(--color-bg);
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(254, 231, 21, 0.25);
    color: var(--color-bg);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(16, 24, 32, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-accent);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

/* CSS-only mobile navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    padding: 0;
    background-image: url('./img/3vE4uZ.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 24, 32, 0.8);
}

.hero__content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}

.hero__accent {
    color: var(--color-accent);
}

/* ===== ABOUT SECTION ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about__text {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.about__img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages {
    background-color: rgba(254, 231, 21, 0.05);
}

.advantages__title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.advantage {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 3px solid var(--color-accent);
    overflow: hidden;
}

.advantage:hover {
    transform: translateY(-10px);
}

.advantage__img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.advantage__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advantage:hover .advantage__img img {
    transform: scale(1.05);
}

.advantage__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
    padding: 1.5rem 2rem 0;
}

.advantage__text {
    color: var(--color-text-secondary);
    padding: 0 2rem 2rem;
}

/* ===== SERVICES SECTION ===== */
.services__title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service {
    background-color: rgba(254, 231, 21, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service:hover {
    transform: translateY(-10px);
    background-color: rgba(254, 231, 21, 0.08);
}

.service__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(254, 231, 21, 0.1);
    border-radius: 50%;
}

.service__icon i {
    font-size: 2rem;
    color: var(--color-accent);
}

.service__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service__text {
    color: var(--color-text-secondary);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: rgba(254, 231, 21, 0.05);
}

.testimonials__title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial__text {
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial__text::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    color: rgba(254, 231, 21, 0.2);
}

.testimonial__client {
    display: flex;
    align-items: center;
}

.testimonial__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial__name {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.testimonial__position {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* ===== CONTACT FORM SECTION ===== */
.contact {
    background-color: var(--color-bg);
}

.contact__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact__text {
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(254, 231, 21, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form__input,
.form__select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus,
.form__select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 231, 21, 0.2);
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form__checkbox input {
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

.form__checkbox label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.form__checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form__submit {
    width: 100%;
}

/* ===== CTA SECTION ===== */
.cta {
    background-color: rgba(254, 231, 21, 0.05);
    text-align: center;
}

.cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta__text {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: rgba(10, 15, 20, 0.95);
    padding: 5rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer h4 {
    color: var(--color-accent);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.footer__contact {
    margin-top: 1.5rem;
}

.footer__contact p {
    margin-bottom: 0.5rem;
}

.footer__links ul li {
    margin-bottom: 0.5rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(16, 24, 32, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    z-index: 1001;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-popup__content p {
    margin-bottom: 0;
    margin-right: 2rem;
}

/* ===== ALERTS ===== */
.alert {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.alert-error {
    background-color: rgba(255, 77, 77, 0.1);
    border-left: 4px solid var(--color-error);
    color: var(--color-error);
}

.alert p {
    margin-bottom: 0.5rem;
}

.alert p:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .about__title,
    .advantages__title,
    .services__title,
    .testimonials__title,
    .contact__title,
    .cta__title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .header__inner {
        height: 70px;
    }
    
    .logo {
        font-size: 1.8rem;
    }

    /* Mobile Navigation */
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1002;
        width: 30px;
        height: 21px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background-color: var(--color-accent);
        height: 3px;
        width: 30px;
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span {
        top: 9px;
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -9px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        top: 9px;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(16, 24, 32, 0.95);
        padding: 100px 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .nav-toggle:checked ~ .nav {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__text {
        font-size: 1.1rem;
    }
    
    .about__grid,
    .advantages__grid,
    .services__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-popup__content {
        flex-direction: column;
    }
    
    .cookie-popup__content p {
        margin-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantage__img {
        height: 180px;
    }
    
    /* Ajout de margin et padding spécifiques pour mobile */
    .advantage {
        margin-bottom: 1rem;
    }
    
    .advantage__title {
        padding: 1.2rem 1.5rem 0;
    }
    
    .advantage__text {
        padding: 0 1.5rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__text {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .form {
        padding: 1.5rem;
    }
} 