:root {
    --clr-primary: #D9571E;
    --clr-primary-dark: #C34E1B;
    --clr-dark: #3B1F0B;
    --clr-light: #FFF9F2;
    --clr-dark-bg: #1A1A1A;
    --clr-card-bg: #2C2C2C;
    --ff-base: Arial, sans-serif;
    --radius: 8px;
    --gap: 1rem;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ff-base);
    line-height: 1.6;
    color: var(--clr-dark);
    background: var(--clr-light);
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gap);
}

section {
    padding: 2rem 0;
}

h1, h2 {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--clr-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.5rem;
    border: none;
    border-radius: var(--radius);
    background: var(--clr-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: normal;
}

.btn:hover {
    background: var(--clr-primary-dark);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--clr-dark);
    color: var(--clr-dark);
}

.btn--outline:hover {
    background: var(--clr-dark);
    color: #fff;
}

.plan .btn--outline {
    background: #fff;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    background: var(--clr-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding-right: 3rem;
    position: relative;
}

.logo img {
    height: 40px;
}

.nav__list {
    display: flex;
    gap: 1.5rem;
}

.nav__item {
    padding: .5rem .75rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.nav__item:hover {
    background: #F2E1D8;
    color: var(--clr-primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 102;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 100;
}

.overlay--show {
    display: block;
}

/* Hero */
.hero {
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.hero h2 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

.hero p {
    max-width: 600px;
    margin: 0 auto;
}

.cta {
    display: flex;
    gap: var(--gap);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stats {
    display: flex;
    gap: var(--gap);
    justify-content: space-evenly;
    align-items: flex-start;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.stat img {
    width: 24px;
    height: 24px;
}

.stat-text {
    display: flex;
    gap: .5rem;
    align-items: baseline;
    white-space: nowrap;
}

.stat .number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.stat .label {
    font-size: .9rem;
}

.hero__img {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 520px;
    display: flex;
    justify-content: center;
}

/* Benefits */
.benefits {
    background: var(--clr-dark-bg);
    color: #fff;
    text-align: center;
}

.benefits__cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.card {
    background: var(--clr-card-bg);
    border-radius: var(--radius);
    padding: 1rem;
    flex: 1 1 300px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-number {
    width: 32px;
    height: 32px;
    background: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: .5rem;
}

.card-title {
    margin-bottom: .5rem;
    font-size: 1.1rem;
}

.card-text {
    font-size: .95rem;
    line-height: 1.4;
    text-align: center;
}

/* Testimonials */
.testimonials {
    background: var(--clr-light);
    text-align: center;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--clr-dark);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--radius);
    margin-bottom: var(--gap);
}

.rating-badge img {
    width: 16px;
    height: 16px;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: var(--gap);
}

.testimonials__wrapper {
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
}

.testimonials__wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 300px;
    aspect-ratio: 4/3;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 16px;
    border: 1px solid rgba(65, 16, 9, .1);
    background: #FCF6EE;
    position: relative;
}

.testimonial__quote {
    width: 24px;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.testimonial__text {
    margin: .5rem 0;
    line-height: 1.4;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.testimonial__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Plans */
.plans {
    background: var(--clr-dark-bg);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.plans h2 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.plans p {
    margin-bottom: 2rem;
    color: #CCC;
}

.plans-toggle {
    display: inline-flex;
    background: #333;
    border-radius: var(--radius);
    overflow: hidden;
}

.plans-toggle-btn {
    padding: .75rem 1.5rem;
    border: none;
    background: #333;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.plans-toggle-btn.active {
    background: #fff;
    color: var(--clr-dark);
}

.plans-cards {
    display: none;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.plans-cards.active {
    display: flex;
}

.plan {
    background: var(--clr-card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 320px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan--highlight {
    border: 2px solid var(--clr-primary);
}

.plan-header {
    background: var(--clr-primary);
    padding: .5rem 1rem;
    border-radius: var(--radius);
    display: inline-block;
    font-weight: 700;
    color: #fff;
}

.plan p {
    font-size: 1.5rem;
    font-weight: 700;
}

.plan ul {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.plan ul li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #DDD;
}

.plan-bullet {
    width: 1rem;
    height: 1rem;
}

/* Articles */
.articles {
    background: var(--clr-light);
    padding: 4rem 1rem;
    color: var(--clr-dark);
}

.articles h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: .5rem;
}

.articles-subtitle {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #5a4538;
    text-align: center;
}

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.article-card {
    background: #FCF6EE;
    border: 1px solid rgba(65, 16, 9, .1);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 360px;
    width: 100%;
}

.article-card img {
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-content .category {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: .5rem;
}

.article-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--clr-dark);
    line-height: 1.3;
}

.article-content p {
    flex: 1;
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    color: #5a4538;
    text-align: justify;
}

.article-content a.btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Service */
.service {
    background: var(--clr-light);
    padding: 4rem 0;
}

.service__intro {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.service__text {
    flex: 1;
}

.service__media {
    flex: 1;
    text-align: center;
}

.service__media img {
    border-radius: var(--radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service__intro-text {
    margin: 1rem 0 2rem;
    color: #5a4538;
    line-height: 1.5;
}

.service__cta {
    display: flex;
    gap: var(--gap);
    flex-wrap: wrap;
}

.service__steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 2rem 0;
}

.service__steps-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--clr-dark);
}

.service__steps-list li .plan-bullet {
    flex-shrink: 0;
}

.service__benefits-full {
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.benefit-card {
    flex: 1;
    min-width: 0;
    background: #FCF6EE;
    border: 1px solid rgba(65, 16, 9, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform .3s, box-shadow .3s;
}

.benefit-card i {
    font-size: 1.75rem;
    color: var(--clr-primary);
}

.benefit-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-dark);
}

.benefit-card p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.4;
    color: #5a4538;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.service__note {
    font-size: .95rem;
    color: #5a4538;
    margin-bottom: .5rem;
}

/* Footer */
footer {
    background-color: var(--clr-dark-bg);
    color: var(--clr-light);
    padding: 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /*align-items: flex-end;*/
}

.footer-content h3 {
    color: var(--clr-primary);
    margin-bottom: .5rem;
}

.footer-contact h4, .footer-legal h4, .footer-nav h4 {
    margin-bottom: .5rem;
}

.footer-contact p , .footer-legal p, .footer-nav p {
    margin-bottom: .4rem;
}

.footer-socials {
    display: flex;
    gap: .5rem;
    margin-top: .5rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-light);
    border: 1px solid var(--clr-light);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .cta .btn {
        width: 100%;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        width: 100%;
        margin-bottom: var(--gap);
    }

    .nav__list {
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100vh;
        background: var(--clr-light);
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform .3s ease-in-out;
        flex-direction: column;
        gap: 1.5rem;
        z-index: 101;
    }

    .nav__list--open {
        transform: translateX(0);
    }

    .plans-cards {
        flex-direction: column;
        align-items: center;
    }

    .plan {
        width: 100%;
    }

    .service__intro {
        flex-direction: column-reverse;
    }

    .service__intro,
    .service__media {
        width: 100%;
    }

    .service__benefits-full {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--gap);
        padding: 1.5rem 0;
        justify-items: center;
    }

    .benefit-card {
        width: 100%;
        max-width: 280px;
        margin: 0;
        align-items: center;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap);
    }

    .footer-content > * {
        width: 100%;
        margin-bottom: var(--gap);
    }

    .footer-logo img {
        max-width: 120px;
        width: 100%;
        height: auto;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* bouton flottant WhatsApp en bas à droite */
.whatsapp-call {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;       /* vert WhatsApp */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform .2s;
}

.whatsapp-call:hover {
    transform: scale(1.1);
}
