/* ============================================
   FORMULES DE COMMUNICATION - CSS
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.formules-hero {
    background: linear-gradient(135deg, var(--vert-persil) 0%, #1a4a24 100%);
    min-height: 60vh;
    padding: 8rem 5% 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formules-hero .hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.formules-hero .floating-sticker {
    position: absolute;
    opacity: 0.15;
}

.formules-hero .sticker-1 {
    width: 120px;
    top: 15%;
    right: 10%;
    animation: floatFormules 6s ease-in-out infinite;
}

.formules-hero .sticker-2 {
    width: 150px;
    bottom: 20%;
    left: 5%;
    animation: floatFormules 8s ease-in-out infinite reverse;
}

@keyframes floatFormules {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content-formules {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content-formules h1 {
    font-size: 2.8rem;
    color: var(--creme-fouettee);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.formules-hero .hero-intro {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.formules-hero .hero-intro p {
    font-size: 1.15rem;
    color: rgba(255, 241, 220, 0.95);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.formules-hero .hero-intro p:last-child {
    margin-bottom: 0;
}

.formules-hero .hero-intro a {
    color: var(--jaune-oeuf);
    text-decoration: underline;
    font-weight: 600;
}

.formules-hero .hero-intro a:hover {
    color: var(--creme-fouettee);
}

/* ============================================
   PATTERN DIVIDERS
   ============================================ */
.pattern-divider-formules {
    height: 80px;
    background-image: url('/assets/motifs/carreauxverts.png');
    background-size: 300px;
    background-repeat: repeat;
}

.pattern-divider-formules.pattern-red {
    background-image: url('/assets/motifs/carreauxrouges.png');
}

.pattern-divider-formules.pattern-pink {
    background-image: url('/assets/motifs/Carreaux roses.png');
}

/* ============================================
   INTRO SECTION
   ============================================ */
.section-intro-formules {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #d470a2 0%, #b35588 100%);
    text-align: center;
}

.section-intro-formules .section-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-intro-formules h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.intro-highlight {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--jaune-oeuf);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

/* ============================================
   MENU CARDS
   ============================================ */
.menu-card {
    padding: 5rem 5%;
}

/* Couleurs specifiques pour chaque menu */
.menu-entree {
    background: var(--creme-fouettee);
}

.menu-entree .menu-number {
    color: var(--vert-persil);
}

.menu-visibilite {
    background: linear-gradient(135deg, var(--jaune-oeuf) 0%, #e6c84a 100%);
}

.menu-visibilite .menu-content h2 {
    color: var(--noir-olive);
}

.menu-visibilite .menu-number {
    color: var(--noir-olive);
    opacity: 0.4;
}

.menu-visibilite .menu-objective,
.menu-visibilite .menu-includes {
    background: rgba(255, 255, 255, 0.6);
}

.menu-visibilite .menu-tagline {
    background: rgba(255, 255, 255, 0.5);
    color: var(--noir-olive);
}

.menu-reseaux {
    background: var(--creme-fouettee);
}

.menu-reseaux .menu-number {
    color: #d470a2;
}

.menu-reseaux .menu-content h2 {
    color: #b35588;
}

.menu-notoriete {
    background: var(--vert-persil) ;
}

.menu-notoriete .menu-content h2,
.menu-notoriete .menu-content p,
.menu-notoriete .menu-content h3,
.menu-notoriete .menu-content li,
.menu-notoriete .menu-tagline {
    color: var(--creme-fouettee);
}

.menu-notoriete .menu-number {
    color: var(--jaune-oeuf);
    opacity: 0.5;
}

.menu-notoriete .menu-objective,
.menu-notoriete .menu-includes {
    background: rgba(255, 255, 255, 0.12);
}

.menu-notoriete .menu-objective h3,
.menu-notoriete .menu-includes h3,
.menu-notoriete .menu-target h3 {
    color: var(--jaune-oeuf);
}

.menu-notoriete .tag {
    background: rgba(255, 241, 220, 0.2);
    color: var(--creme-fouettee);
}

.menu-notoriete .menu-includes li::before {
    border-color: var(--jaune-oeuf);
}

.menu-notoriete .menu-tagline {
    background: rgba(255, 255, 255, 0.1);
}

.menu-projecteur {
    background: var(--creme-fouettee);
}

.menu-projecteur .menu-number {
    color: var(--rouge-tomate);
}

.menu-projecteur .menu-content h2 {
    color: var(--rouge-tomate);
}

.menu-special.menu-featured {
    background: linear-gradient(135deg, var(--noir-olive) 0%, #1a1a1a 100%);
}

.menu-special.menu-featured .menu-content h2,
.menu-special.menu-featured .menu-content p,
.menu-special.menu-featured .menu-content h3,
.menu-special.menu-featured .menu-content li,
.menu-special.menu-featured .menu-tagline {
    color: var(--creme-fouettee);
}

.menu-special.menu-featured .menu-number {
    color: var(--jaune-oeuf);
    opacity: 0.6;
}

.menu-special.menu-featured .menu-objective,
.menu-special.menu-featured .menu-includes {
    background: rgba(255, 255, 255, 0.08);
}

.menu-special.menu-featured .menu-objective h3,
.menu-special.menu-featured .menu-includes h3,
.menu-special.menu-featured .menu-target h3 {
    color: var(--jaune-oeuf);
}

.menu-special.menu-featured .tag {
    background: rgba(230, 176, 18, 0.3);
    color: var(--jaune-oeuf);
}

.menu-special.menu-featured .menu-includes li::before {
    border-color: var(--jaune-oeuf);
}

.menu-special.menu-featured .menu-tagline {
    background: rgba(230, 176, 18, 0.15);
    color: var(--jaune-oeuf);
}

.menu-chef {
    background: linear-gradient(135deg, #d470a2 0%, #b35588 100%);
}

.menu-chef .menu-content h2,
.menu-chef .menu-content p,
.menu-chef .menu-content h3,
.menu-chef .menu-content li,
.menu-chef .menu-tagline {
    color: white;
}

.menu-chef .menu-number {
    background: white;
    color: #d470a2;
}

.menu-chef .menu-objective,
.menu-chef .menu-includes {
    background: rgba(255, 255, 255, 0.2);
}

.menu-chef .menu-objective h3,
.menu-chef .menu-includes h3 {
    color: var(--jaune-oeuf);
}

.menu-chef .menu-includes li::before {
    border-color: white;
}

.menu-chef .menu-tagline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.menu-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--vert-persil);
    opacity: 0.3;
    line-height: 1;
}

.menu-special.menu-featured .menu-number {
    color: var(--jaune-oeuf);
    opacity: 0.5;
}

.menu-chef .menu-number {
    font-size: 1.5rem;
    opacity: 1;
    background: var(--noir-olive);
    color: var(--jaune-oeuf);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
}

.menu-icon {
    width: 80px;
    height: 80px;
}

.menu-icon img {
    width: 100%;
    height: auto;
}

.menu-badge {
    background: var(--jaune-oeuf);
    color: var(--noir-olive);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-content h2 {
    font-size: 1.8rem;
    color: var(--vert-persil);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.menu-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--noir-olive);
    margin-bottom: 1rem;
}

.menu-ideal {
    font-size: 1.05rem;
    color: var(--noir-olive);
    padding: 1rem 1.5rem;
    background: rgba(45, 106, 79, 0.08);
    border-left: 4px solid var(--vert-persil);
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.menu-ideal strong {
    color: var(--vert-persil);
}

.menu-objective,
.menu-includes {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.menu-objective h3,
.menu-includes h3,
.menu-target h3 {
    font-size: 1.1rem;
    color: var(--rouge-tomate);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-objective p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--noir-olive);
    margin: 0;
}

.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li {
    font-size: 1.05rem;
    color: var(--noir-olive);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.objectives-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--jaune-oeuf);
    border-radius: 50%;
}

.menu-special.menu-featured .objectives-list li::before {
    background: var(--jaune-oeuf);
}

.menu-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-includes li {
    font-size: 1rem;
    color: var(--noir-olive);
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-includes li:last-child {
    border-bottom: none;
}

.menu-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--vert-persil);
    border-radius: 4px;
}

.menu-special.menu-featured .menu-includes li::before {
    border-color: var(--jaune-oeuf);
}

.menu-chef .menu-includes li::before {
    border-color: var(--vert-persil);
}

.menu-target {
    margin: 2rem 0;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(45, 106, 79, 0.1);
    color: var(--vert-persil);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.menu-tagline {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--vert-persil);
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(45, 106, 79, 0.05);
    border-radius: 12px;
    text-align: center;
}

.menu-card .btn {
    margin-top: 1rem;
}

/* ============================================
   SECTION CHOISIR
   ============================================ */
.section-choisir {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--vert-persil) 0%, #1a4a24 100%);
}

.section-choisir h2 {
    font-size: 2rem;
    color: var(--creme-fouettee);
    text-align: center;
    margin-bottom: 2rem;
}

.choisir-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.choisir-intro h3 {
    font-size: 1.5rem;
    color: var(--jaune-oeuf);
    margin-bottom: 1.5rem;
}

.choisir-intro p {
    font-size: 1.1rem;
    color: rgba(255, 241, 220, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.choisir-grid {
    max-width: 900px;
    margin: 0 auto;
}

.choisir-grid h4 {
    font-size: 1.1rem;
    color: var(--creme-fouettee);
    margin-bottom: 2rem;
    text-align: center;
}

.repere-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.repere-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.repere-situation {
    font-size: 1.05rem;
    color: var(--creme-fouettee);
    font-weight: 500;
}

.repere-solution {
    font-size: 1rem;
    color: rgba(255, 241, 220, 0.8);
}

.repere-solution a {
    color: var(--jaune-oeuf);
    text-decoration: underline;
    font-weight: 600;
}

.repere-solution a:hover {
    color: var(--creme-fouettee);
}

.choisir-conclusion {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.choisir-conclusion p {
    font-size: 1.1rem;
    color: rgba(255, 241, 220, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ============================================
   CTA FINAL
   ============================================ */
.section-cta-final {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--jaune-oeuf) 0%, #e6c84a 100%);
    text-align: center;
}

.section-cta-final .section-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-cta-final h2 {
    font-size: 2rem;
    color: var(--noir-olive);
    margin-bottom: 2rem;
}

.section-cta-final p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--noir-olive);
    margin-bottom: 1rem;
}

.cta-highlight {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: var(--vert-persil) !important;
    margin: 2rem 0 !important;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

.btn-xl {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .formules-hero {
        min-height: auto;
        padding: 6rem 5% 4rem;
    }

    .hero-content-formules h1 {
        font-size: 2rem;
    }

    .menu-content h2 {
        font-size: 1.5rem;
    }

    .repere-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .repere-card:hover {
        transform: translateX(0);
    }

    .menu-header {
        justify-content: center;
        text-align: center;
    }

    .menu-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .formules-hero .hero-intro {
        padding: 1.5rem;
    }

    .menu-card {
        padding: 3rem 5%;
    }

    .menu-objective,
    .menu-includes {
        padding: 1.5rem;
    }

    .target-tags {
        justify-content: center;
    }

    .section-choisir {
        padding: 3rem 5%;
    }

    .choisir-conclusion {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-content-formules h1 {
        font-size: 1.7rem;
    }

    .section-intro-formules h2,
    .section-choisir h2,
    .section-cta-final h2 {
        font-size: 1.5rem;
    }

    .menu-content h2 {
        font-size: 1.3rem;
    }

    .menu-tagline {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .pattern-divider-formules {
        height: 60px;
        background-size: 200px;
    }

    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
