/**
 * CrecyPlage — Landing /partenaires/.
 *
 * Page commerciale pour démarcher les commerçants.
 */

/* ============================================================
   HERO
   ============================================================ */
.part-hero {
    background: linear-gradient(135deg, var(--eau-profonde, #1E5A7B) 0%, var(--nuit, #073B4C) 100%);
    color: #fff;
    padding: 4rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}
.part-hero::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--ecume, #FEFCF6);
    clip-path: ellipse(80% 60px at 50% 100%);
}
.part-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.part-hero__kicker {
    display: inline-block;
    background: var(--soleil, #F4A261);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.45em 1em;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(244, 162, 97, 0.4);
}
.part-hero__title {
    font-family: var(--ff-display, Georgia, serif);
    font-size: clamp(2rem, 1.5rem + 3vw, 3.2rem);
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 1.2rem;
    color: #fff;
    letter-spacing: -0.01em;
}
.part-hero__title-accent {
    color: var(--soleil, #F4A261);
}
.part-hero__sub {
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.18rem);
    line-height: 1.6;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}
.part-hero__cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 2.2rem;
}
.part-hero__stats {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.96rem;
}
.part-hero__stats .stat strong {
    color: var(--soleil, #F4A261);
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 0.3em;
}
.part-hero__stats .stat-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-part {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.85em 1.6em;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-part:hover {
    transform: translateY(-2px);
}
.btn-part--primary {
    background: var(--corail, #E76F51);
    color: #fff;
}
.btn-part--primary:hover {
    background: #d35a3a;
    box-shadow: 0 8px 20px rgba(231, 111, 81, 0.4);
}
.btn-part--accent {
    background: var(--soleil, #F4A261);
    color: var(--nuit, #073B4C);
}
.btn-part--accent:hover {
    background: #ec8e3e;
    box-shadow: 0 8px 20px rgba(244, 162, 97, 0.45);
}
.btn-part--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.btn-part--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}
.part-section .btn-part--ghost {
    color: var(--eau-profonde, #1E5A7B);
    border-color: var(--eau-profonde, #1E5A7B);
}
.part-section .btn-part--ghost:hover {
    background: var(--eau-profonde, #1E5A7B);
    color: #fff;
}
.btn-part--big {
    font-size: 1.1rem;
    padding: 1em 2em;
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.part-section {
    padding: 4rem 1.5rem;
}
.part-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.part-section__kicker {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sable-mouille, #B8956A);
    margin: 0 0 0.8rem;
}
.part-section__title {
    text-align: center;
    font-family: var(--ff-display, Georgia, serif);
    font-size: clamp(1.7rem, 1.4rem + 1.5vw, 2.4rem);
    font-weight: 500;
    color: var(--eau-profonde, #1E5A7B);
    margin: 0 0 1rem;
    line-height: 1.15;
}
.part-section__lead {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 2.5rem;
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
    line-height: 1.65;
    color: var(--nuit, #073B4C);
}
.part-section__footnote {
    text-align: center;
    margin: 2.5rem auto 0;
    max-width: 60ch;
    font-size: 0.85rem;
    color: var(--sable-mouille, #B8956A);
    font-style: italic;
}

/* ============================================================
   POURQUOI (4 cards)
   ============================================================ */
.part-section--why {
    background: var(--ecume, #FEFCF6);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 2rem;
}
.why-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 2px 14px rgba(7, 59, 76, 0.07);
}
.why-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--sable-clair, #FBF3DD);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--corail, #E76F51);
}
.why-card__icon .crecy-icon {
    width: 22px;
    height: 22px;
}
.why-card__title {
    font-size: 1.05rem;
    color: var(--eau-profonde, #1E5A7B);
    margin: 0 0 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}
.why-card p {
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--nuit, #073B4C);
    margin: 0;
}

/* ============================================================
   TARIFS (3 cards)
   ============================================================ */
.part-section--tarifs {
    background: var(--sable-clair, #FBF3DD);
}
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 1rem;
    align-items: stretch;
}
.tier {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 18px rgba(7, 59, 76, 0.08);
    border: 1.5px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tier:hover {
    transform: translateY(-4px);
}
.tier--premium {
    border-color: var(--corail, #E76F51);
    box-shadow: 0 8px 32px rgba(231, 111, 81, 0.18);
    transform: scale(1.03);
}
.tier--premium:hover {
    transform: scale(1.03) translateY(-4px);
}
.tier__ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--corail, #E76F51);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4em 1.1em;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(231, 111, 81, 0.45);
}
.tier__header {
    text-align: center;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px dashed var(--sable-doux, #F2E2B6);
}
.tier__name {
    font-size: 1.15rem;
    color: var(--eau-profonde, #1E5A7B);
    font-weight: 600;
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.tier__price {
    margin: 0 0 0.4rem;
    color: var(--nuit, #073B4C);
    font-size: 1.1rem;
}
.tier__price strong {
    font-family: var(--ff-display, Georgia, serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--corail, #E76F51);
    line-height: 1;
    display: inline-block;
    margin-right: 0.2em;
}
.tier__price span {
    color: var(--sable-mouille, #B8956A);
    font-size: 0.95rem;
}
.tier__tagline {
    font-size: 0.92rem;
    color: var(--sable-mouille, #B8956A);
    margin: 0.5rem 0 0;
    font-style: italic;
}
.tier__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    flex-grow: 1;
}
.tier__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    padding: 0.5em 0;
    font-size: 0.94rem;
    line-height: 1.4;
    color: var(--nuit, #073B4C);
}
.tier__features li .crecy-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #3BBFB0;
    stroke-width: 3;
    margin-top: 3px;
}
.tier__feature--off {
    color: color-mix(in srgb, var(--nuit, #073B4C) 40%, transparent) !important;
    text-decoration: line-through;
    padding-left: 22px;
}
.tier__special {
    background: linear-gradient(135deg, var(--soleil, #F4A261) 0%, var(--corail, #E76F51) 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
}
.tier__special-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
    opacity: 0.92;
}
.tier__special strong {
    font-size: 1.3rem;
    font-weight: 700;
}
.tier__cta {
    margin-top: auto;
}
.tier__cta .btn-part {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   HOW (3 étapes)
   ============================================================ */
.part-section--how {
    background: var(--ecume, #FEFCF6);
}
.how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    counter-reset: step;
}
.how-step {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 14px rgba(7, 59, 76, 0.07);
}
.how-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--corail, #E76F51);
    color: #fff;
    font-family: var(--ff-display, Georgia, serif);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.how-step__title {
    font-size: 1.1rem;
    color: var(--eau-profonde, #1E5A7B);
    margin: 0 0 0.6rem;
    font-weight: 600;
}
.how-step p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--nuit, #073B4C);
    margin: 0;
}

/* ============================================================
   ADS (4 emplacements)
   ============================================================ */
.part-section--ads {
    background: var(--sable-clair, #FBF3DD);
}
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 2rem;
}
.ads-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    border-left: 4px solid var(--soleil, #F4A261);
}
.ads-card__pos {
    margin: 0 0 0.4rem;
    font-weight: 700;
    color: var(--eau-profonde, #1E5A7B);
    font-size: 1rem;
}
.ads-card__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--nuit, #073B4C);
}

/* ============================================================
   FAQ
   ============================================================ */
.part-section--faq {
    background: var(--ecume, #FEFCF6);
}
.faq-list {
    max-width: 720px;
    margin: 2rem auto 0;
}
.faq-item {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(7, 59, 76, 0.06);
    overflow: hidden;
}
.faq-item summary {
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    color: var(--eau-profonde, #1E5A7B);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
    font-size: 1rem;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--corail, #E76F51);
    transition: transform 0.2s;
    font-weight: 400;
}
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
    margin: 0;
    padding: 0 1.3rem 1.3rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--nuit, #073B4C);
}

/* ============================================================
   CONTACT
   ============================================================ */
.part-section--contact {
    background: linear-gradient(135deg, var(--eau-profonde, #1E5A7B) 0%, var(--nuit, #073B4C) 100%);
    color: #fff;
    text-align: center;
}
.part-section--contact .part-section__kicker {
    color: var(--soleil, #F4A261);
}
.part-section--contact .part-section__title {
    color: #fff;
}
.part-section--contact .part-section__lead {
    color: rgba(255, 255, 255, 0.92);
}
.part-contact-buttons {
    margin: 2rem 0 1.5rem;
}
.part-contact-buttons .btn-part .crecy-icon {
    width: 22px;
    height: 22px;
    margin-right: 0.3em;
}
.part-contact-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    font-style: italic;
    margin: 0;
    max-width: 50ch;
    margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
    .part-hero, .part-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .tier--premium {
        transform: scale(1);
        margin: 1.5rem 0;
    }
    .tier--premium:hover {
        transform: translateY(-4px);
    }
}
