/*
Theme Name:   Care Impact Child
Template:     generatepress
Version:      1.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --ci-lime:    #C8FF00;
    --ci-pink:    #FF3CA0;
    --ci-black:   #111111;
    --ci-white:   #FFFFFF;
    --ci-gray:    #F5F5F5;
    --ci-text:    #222222;

    --ci-font-body:    'Inter', sans-serif;
    --ci-font-display: 'Bebas Neue', cursive;

    --ci-max-width: 1100px;
    --ci-section-pad: 90px 24px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--ci-font-body);
    color: var(--ci-text);
    background: var(--ci-white);
    scrollbar-gutter: stable;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ============================================================
   HEADER & NAV
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

#site-header.is-scrolled { background: rgba(17, 17, 17, 0.95); }

#site-header.is-scrolled:has(.ci-nav.is-open) { background: var(--ci-black); }

.ci-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}


.ci-logo-name {
    font-family: var(--ci-font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--ci-lime);
    transition: color 0.2s;
}

.ci-logo-name:hover {
    color: var(--ci-pink);
}

.ci-nav {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.ci-nav a {
    color: var(--ci-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.ci-nav a:hover { color: var(--ci-pink); }

/* Groupe droite du header (lang + toggle) */
.ci-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 640px) {
    .ci-header-right {
        gap: 24px;
    }
}

/* Selecteur de langue Polylang */
.ci-lang-switcher {
    display: inline-flex;
}

.ci-lang-switcher ul {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 2px;
}

.ci-lang-switcher li {
    display: flex;
    align-items: center;
}

.ci-lang-switcher li + li::before {
    display: none;
}

.ci-lang-switcher a {
    color: var(--ci-white);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
    padding: 4px 8px;
    border: none;
    border-radius: 3px;
    transition: all 0.2s;
    display: block;
    white-space: nowrap;
}

.ci-lang-switcher a:hover {
    opacity: 0.7;
}

.ci-lang-switcher .current-lang a {
    background: var(--ci-pink);
    color: var(--ci-white);
    opacity: 1;
}

.ci-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.ci-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ci-white);
    transition: all 0.3s;
}

#site-header:has(.ci-nav.is-open) .ci-nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

#site-header:has(.ci-nav.is-open) .ci-nav-toggle span:nth-child(2) {
    opacity: 0;
}

#site-header:has(.ci-nav.is-open) .ci-nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================
   SECTIONS - COMMUNE
   ============================================================ */
.ci-section {
    padding: var(--ci-section-pad);
}

.ci-container {
    max-width: var(--ci-max-width);
    margin: 0 auto;
}

.ci-section-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 0.04em;
    margin: 0 0 50px;
    line-height: 1;
}

.ci-section-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    margin: 0 0 48px;
    max-width: 560px;
}

/* ============================================================
   HERO
   ============================================================ */
#accueil {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 24px;
    overflow: hidden;
}

.ci-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ci-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

.ci-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--ci-max-width);
    margin: 0 auto;
    width: 100%;
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ci-hero-logo {
    margin-bottom: 32px;
}

.ci-hero-logo img {
    height: 400px;
    width: auto;
}

.ci-hero-tag {
    display: block;
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-lime);
    margin-bottom: 16px;
}

.ci-hero-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: var(--ci-white);
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.ci-hero-title span { color: var(--ci-lime); }

.ci-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin: 0 auto 40px;
    max-width: 480px;
}

.ci-btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.ci-btn-primary {
    background: var(--ci-lime);
    color: var(--ci-black);
}

.ci-btn-primary:hover {
    background: var(--ci-pink);
    color: var(--ci-white);
}

.ci-btn-outline {
    background: transparent;
    color: var(--ci-white);
    border: 2px solid var(--ci-white);
    margin-left: 16px;
}

.ci-btn-outline:hover {
    background: var(--ci-white);
    color: var(--ci-black);
}

.ci-hero-scroll-indicator {
    margin-top: 48px;
    color: var(--ci-white);
    opacity: 0.8;
    animation: ci-bounce 2s infinite;
}

.ci-hero-scroll-indicator svg {
    display: block;
    width: 24px;
    height: 24px;
}

@keyframes ci-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ============================================================
   QUI SOMMES-NOUS
   ============================================================ */
#qui-sommes-nous {
    background: var(--ci-black);
    color: var(--ci-white);
}

#qui-sommes-nous .ci-section-title { color: var(--ci-lime); }

.ci-about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: center;
}

.ci-about-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    letter-spacing: 0.05em;
    opacity: 0.9;
    margin: 0 0 28px;
    text-align: justify;
}

.ci-about-objectives {
    background: rgba(255,255,255,0.05);
    border-left: 4px solid var(--ci-lime);
    padding: 32px;
}

.ci-about-objectives h3 {
    font-family: var(--ci-font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--ci-lime);
    margin: 0 0 20px;
}

.ci-about-objectives ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ci-about-objectives li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.ci-about-objectives li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--ci-pink);
    flex-shrink: 0;
}

.ci-about-tagline {
    margin: 100px auto;
    max-width: 1000px;
    text-align: center;
    padding: 28px 40px;
    background: rgb(255, 255, 255);
    border-radius: 8px;
}

.ci-about-tagline--has-image {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    text-align: center;
    padding: 0;
    overflow: hidden;
    background: rgb(255, 255, 255);
}

.ci-about-tagline-image {
    width: 100%;
    height: 530px;
}

.ci-about-tagline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-about-tagline-carousel {
    position: relative;
    width: 100%;
    height: 530px;
    overflow: hidden;
}

.ci-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.ci-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.ci-carousel-slide.active {
    opacity: 1;
}

.ci-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-carousel-bullets {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ci-carousel-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.ci-carousel-bullet:hover {
    background: rgba(255, 255, 255, 0.6);
}

.ci-carousel-bullet.active {
    background: rgba(255, 255, 255, 1);
}

.ci-about-tagline--has-image p {
    padding: 20px 30px;
}

.ci-about-tagline p {
    margin: 0;
    font-family: var(--ci-font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: 0.08em;
    color: var(--ci-black);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .ci-about-tagline-image {
        height: 300px;
    }

    .ci-about-tagline-carousel {
        height: 300px;
    }
}

/* ============================================================
   NOS FORMULES
   ============================================================ */
#nos-formules {
    background: var(--ci-gray);
    padding-top: 120px;
    padding-bottom: 140px;
}

#nos-formules .ci-section-title { color: var(--ci-black); }

.ci-formules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ci-formule-card {
    background: var(--ci-white);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 20px 0px #d6d6d6;
}

.ci-formule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ci-black);
}

.ci-formule-card.featured::before { background: var(--ci-pink); }

.ci-formule-card.featured {
    background: var(--ci-black);
    color: var(--ci-white);
}


.ci-formule-name {
    font-family: var(--ci-font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
    line-height: 1;
}

.ci-formule-duration {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0 0 24px;
}

.ci-formule-details {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ci-formule-details li {
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    opacity: 0.85;
}

.ci-formule-details li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--ci-lime);
    font-weight: 700;
}

.ci-formule-card.featured .ci-formule-details li::before { color: var(--ci-pink); }

.ci-formule-cta {
    text-align: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.ci-formule-card.featured .ci-formule-cta { border-top-color: rgba(255,255,255,0.1); }

.ci-formules-block { margin-top: 80px; }

.ci-formules-block-title {
    font-family: var(--ci-font-display);
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ci-black);
    margin: 0 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ci-formules-block-title::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.20);
}

.ci-formules-block-subtitle {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
    margin: -20px 0 36px;
    color: rgb(131, 131, 131);
}

.ci-formule-individual {
    background: var(--ci-black);
    color: var(--ci-white);
    padding: 52px 56px;
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    overflow: hidden;
}

.ci-formule-individual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ci-lime);
}

.ci-formule-individual-left {
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.15);
    padding-right: 48px;
}

.ci-formule-individual-price {
    font-family: var(--ci-font-display);
    font-size: 3rem;
    letter-spacing: 0.05em;
    color: var(--ci-lime);
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.ci-formule-individual-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.ci-formule-individual .ci-formule-details {
    flex: 1;
    margin: 0;
    gap: 16px;
}

.ci-formule-individual .ci-formule-details li {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 1;
    padding-left: 0;
    position: static;
}

.ci-formule-individual .ci-formule-details li::before { content: '●'; color: var(--ci-lime); font-size: 0.5em; vertical-align: middle; margin-right: 10px; display: inline; position: static; }


/* ============================================================
   GALERIE
   ============================================================ */
#galerie {
    background: var(--ci-white);
    padding-top: 120px;
    padding-bottom: 120px;
}

.ci-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 100px auto 0;
}

.ci-gallery-item {
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.ci-gallery-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    display: block;
    overflow: hidden;
}

.ci-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ci-gallery-thumbnail:hover img {
    transform: scale(1.08);
}

.ci-gallery-thumbnail:focus {
    outline: 2px solid var(--ci-lime);
    outline-offset: 2px;
}

/* Lightbox */
.ci-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.ci-gallery-lightbox[aria-hidden="false"] {
    display: flex;
}

.ci-lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    animation: fadeIn 0.3s ease;
}

.ci-lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.ci-lightbox-image-wrapper {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s ease;
}

.ci-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.ci-lightbox-close {
    position: fixed;
    top: 28px;
    right: 28px;
    background: none !important;
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10001;
    opacity: 0.7;
}

.ci-lightbox-close:hover {
    opacity: 1;
}

.ci-lightbox-close svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

.ci-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none;
    color: white;
    width: 56px;
    height: 56px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10001;
    opacity: 0.7;
}

.ci-lightbox-nav:hover {
    opacity: 1;
}

.ci-lightbox-prev {
    left: 32px;
}

.ci-lightbox-next {
    right: 32px;
}

.ci-lightbox-nav svg {
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ci-lightbox-counter {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 10001;
    font-weight: 500;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .ci-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    #galerie {
        padding-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .ci-lightbox-nav {
        width: 48px;
        height: 48px;
    }

    .ci-lightbox-prev {
        left: 16px;
    }

    .ci-lightbox-next {
        right: 16px;
    }

    .ci-lightbox-close {
        width: 44px;
        height: 44px;
        top: 20px;
        right: 20px;
    }

    .ci-lightbox-counter {
        font-size: 0.85rem;
        padding: 8px 16px;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .ci-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
    background: var(--ci-black);
    color: var(--ci-white);
    padding-top: 120px;
    padding-bottom: 120px;
}

#contact .ci-section-title { color: var(--ci-pink); }

.ci-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.ci-contact-info p {
    font-size: 1.125rem;
    line-height: 1.75;
    opacity: 0.8;
    margin: 0 0 32px;
}

.ci-contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ci-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ci-contact-link:hover, .ci-contact-link:active, .ci-contact-link:focus {
    opacity: 1;
    color: var(--ci-pink);
}

.ci-contact-link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-contact-link-icon svg {
    width: 24px;
    height: 24px;
}

.ci-contact-link:nth-child(1) .ci-contact-link-icon {
    color: var(--ci-pink);
}

.ci-contact-link:nth-child(2) .ci-contact-link-icon {
    color: #E4405F;
}

/* Contact Form 7 reset */
.wpcf7-form { margin: 0; }

.wpcf7-form p { margin: 0 0 28px; }

.wpcf7-form label { display: block; margin-bottom: 12px; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    background: var(--ci-white);
    border: 2px solid #E5E5E5;
    color: var(--ci-text);
    padding: 16px 18px;
    font-family: var(--ci-font-body);
    font-size: 0.95rem;
    margin-bottom: 0;
    transition: all 0.2s;
    outline: none;
    border-radius: 6px;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: #999999;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--ci-lime);
    background: var(--ci-white);
    box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.1);
}

.wpcf7-form textarea {
    height: 140px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background: var(--ci-lime);
    color: var(--ci-black);
    border: none;
    padding: 14px 40px;
    font-family: var(--ci-font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
}

.wpcf7-form input[type="submit"]:hover {
    background: var(--ci-pink);
    color: var(--ci-white);
}

/* Messages de reponse CF7 */
.wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0 0 !important;
    padding: 14px 16px !important;
    border: none !important;
    border-left: 5px solid #999 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #333 !important;
    background-color: #FAFAFA !important;
}

/* Succes - form.sent */
.wpcf7 form.sent .wpcf7-response-output {
    border-left-color: #4CAF50 !important;
    background-color: #ECFFEC !important;
    color: #1B5E20 !important;
}

/* Erreurs - form.failed et form.invalid */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    border-left-color: #E53935 !important;
    background-color: #FFEBEE !important;
    color: #B71C1C !important;
}

/* Erreurs sur les champs */
.wpcf7 input.wpcf7-form-control.has-error,
.wpcf7 textarea.wpcf7-form-control.has-error {
    border-color: #E53935 !important;
}

.wpcf7 input.wpcf7-form-control.has-error:focus,
.wpcf7 textarea.wpcf7-form-control.has-error:focus {
    border-color: #E53935 !important;
}

/* ============================================================
   CONCEPT (Notre approche)
   ============================================================ */
#apropos {
    background: var(--ci-gray);
}

.ci-concept-intro-context {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    letter-spacing: 0.08em;
    line-height: 1.35;
    color: var(--ci-black);
    font-weight: normal;
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
    position: relative;
    word-spacing: 0.15em;
}

.ci-concept-intro-context::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--ci-pink);
    margin: 0 auto 32px;
    border-radius: 1.5px;
}

.ci-concept-intro-statement {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    color: var(--ci-text);
    opacity: 0.65;
    max-width: 820px;
    margin: 36px auto 80px;
    text-align: center;
    line-height: 1.8;
}

/* Deux encards cote a cote */
.ci-concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.ci-concept-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 48px 44px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.ci-concept-not {
    border-top: 3px solid rgba(0,0,0,0.15);
}

.ci-concept-is {
    border-top: 3px solid var(--ci-lime);
}

.ci-concept-card-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 32px;
    line-height: 1;
    text-align: center;
}

.ci-concept-not .ci-concept-card-title { color: var(--ci-black); }
.ci-concept-is  .ci-concept-card-title { color: var(--ci-black); }

/* Items avec icone inline */
.ci-concept-item-icon {
    flex-shrink: 0;
    margin-top: 6px;
    line-height: 0;
    display: block;
}

.ci-concept-not .ci-concept-item-icon { color: #e53535; }

.ci-concept-is .ci-concept-item-icon {
    background: var(--ci-lime);
    color: var(--ci-black);
    border-radius: 2px;
    padding: 2px;
}

.ci-concept-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: fit-content;
    margin: 0 auto;
}

.ci-concept-card-body p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ci-text);
    margin: 0;
}

.ci-concept-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: fit-content;
}

.ci-concept-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ci-text);
}

.ci-concept-image-wrap {
    grid-column: 1 / -1;
}

.ci-concept-image {
    height: 420px;
    overflow: hidden;
    will-change: transform;
}

.ci-concept-image img {
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center;
    display: block;
}


@media (max-width: 768px) {
    .ci-concept-image {
        height: 250px;
    }
    .ci-concept-image img {
        height: 130%;
    }
}

/* ============================================================
   BIO — integree dans Qui sommes-nous
   ============================================================ */
.ci-about-bio {
    margin-top: 40px;
    padding-top: 60px;
}

.ci-about-bio-header {
    margin-bottom: 48px;
}

.ci-about-bio-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ci-pink);
    margin-bottom: 10px;
}

.ci-about-bio-name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.03em;
    color: var(--ci-white);
    margin: 0;
    line-height: 1;
}

.ci-about-bio-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: stretch;
}

.ci-about-bio-photo {
    background: rgba(255,255,255,0.04);
    overflow: hidden;
    box-shadow: 1px 1px 50px 3px #ffffff1f;
    border-radius: 12px;
}

.ci-about-bio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.ci-about-bio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    font-size: 10rem;
    color: var(--ci-lime);
    opacity: 0.1;
    user-select: none;
}

.ci-about-bio-text p,
.ci-about-bio-text > div {
    letter-spacing: 0.04em;;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ci-white);
    margin: 0 0 2em;
    text-align: justify;
}

.ci-about-bio-mission {
    margin: 40px 0 0;
    padding: 28px 36px;
    border: none;
    border-left: 4px solid var(--ci-lime);
    background: rgba(200,255,0,0.05);
}

.ci-about-bio-mission p {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: var(--ci-lime);
    margin: 0;
}

/* ============================================================
   TAGLINE BRIDGE (a cheval entre Pour qui et Qui sommes-nous)
   ============================================================ */
.ci-tagline-bridge {
    position: relative;
    z-index: 10;
    margin-top: -500px;
    margin-bottom: 0;
    padding: 0 12px;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, var(--ci-white) 530px, var(--ci-black) 530px);
}

.ci-tagline-bridge .ci-about-tagline {
    margin: 0;
    width: 100%;
}

#pour-qui        { padding-top: 120px; padding-bottom: 540px; }
#qui-sommes-nous { padding-top: 150px; padding-bottom: 120px; }

/* ============================================================
   POUR QUI
   ============================================================ */
#pour-qui {
    background: var(--ci-white);
}

.ci-public-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
}

.ci-public-card {
    padding: 48px 40px;
    border-top: 3px solid var(--ci-lime);
    border-right: 1px solid rgba(0,0,0,0.07);
}

.ci-public-card:last-child {
    border-right: none;
}

.ci-public-card:nth-child(2) {
    border-top-color: var(--ci-pink);
}

.ci-public-number {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 28px;
}

.ci-public-number svg {
    width: 64px;
    height: 64px;
    color: #888888;
    flex-shrink: 0;
}

.ci-public-name {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.04em;
    color: var(--ci-black);
    margin: 0 0 16px;
    line-height: 1;
}

.ci-public-text {
    font-size: 0.85rem;
    line-height: 1.75;
    color: rgba(0,0,0,0.6);
    margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: #000;
    color: rgba(255,255,255,0.4);
    padding: 56px 24px 32px;
    font-size: 0.8rem;
    border-top: 1px solid grey;
}

.ci-footer-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: var(--ci-max-width);
    margin: 0 auto 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ci-footer-logo {
    display: flex;
    flex-shrink: 0;
}

.ci-footer-logo img {
    height: 180px;
    width: auto;
    opacity: 0.9;
}

.ci-footer-disclaimer {
    border-left: 1px solid rgba(255, 255, 255, 0.329);
    padding-left: 48px;
}

.ci-footer-disclaimer p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.507);
}

.ci-footer-legal {
    margin: 0;
    text-align: center;
    font-size: 0.75rem;
    max-width: var(--ci-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   SCROLL SMOOTH
   ============================================================ */
html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 40px; }
#qui-sommes-nous { scroll-margin-top: 0px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes ci-fade-up {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ci-hero-logo     { animation: ci-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0s   both; }
.ci-hero-tag      { animation: ci-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.ci-hero-title    { animation: ci-fade-up 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.ci-hero-subtitle { animation: ci-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
.ci-hero-ctas     { animation: ci-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }

.ci-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.ci-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ci-hero-tag, .ci-hero-title, .ci-hero-subtitle, .ci-hero-ctas { animation: none; }
    .ci-animate { opacity: 1; transform: none; transition: none; }
}

.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #site-header { top: 46px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Navigation : collapse en drawer des 960px */
@media (max-width: 960px) {
    .ci-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--ci-black);
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 99;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }
    .ci-nav-toggle { display: flex; }
    .ci-nav.is-open {
        max-height: 100vh;
        opacity: 1;
        pointer-events: auto;
    }
    .ci-nav.is-open a { font-size: 1.5rem; }
}

@media (max-width: 900px) {
    .ci-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ci-formules-grid { grid-template-columns: 1fr; }
    .ci-formule-individual { flex-direction: column; padding: 32px 24px; gap: 24px; }
    .ci-formule-individual-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-right: 0; padding-bottom: 20px; width: 100%; }
    .ci-formule-individual-right { width: 100%; }
    .ci-formules-block-title { display: block; }
    .ci-formules-block-title::after { display: block; width: 32px; height: 2px; background: var(--ci-black); margin-top: 10px; flex: none; }
    .ci-contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .ci-concept-grid { grid-template-columns: 1fr; }
    .ci-about-bio-grid { grid-template-columns: 1fr; gap: 40px; }
    .ci-about-bio-photo { position: static; max-height: 700px; }
    .ci-public-grid { grid-template-columns: 1fr; }
    .ci-public-card { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
    .ci-public-card:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
    :root { --ci-section-pad: 64px 20px; }
    section[id] { scroll-margin-top: 20px; }
    #apropos { scroll-margin-top: 60px; }
    #qui-sommes-nous { scroll-margin-top: 40px; }
    .ci-footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
    .ci-footer-disclaimer { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
    .ci-footer-logo img { height: 140px; }
    .ci-btn-primary { display: block; text-align: center; margin-bottom: 12px; }
    .ci-btn-outline { margin-left: 0; display: block; text-align: center; }

    /* Hero spacing sur mobile */
    #accueil { padding: 0 16px; }
    .ci-hero-content { padding-top: 80px; padding-bottom: 48px; }
    .ci-hero-logo img { height: 240px; }
    .ci-hero-tag { margin-bottom: 16px; }
    .ci-hero-subtitle { margin-bottom: 40px; }

    /* Legals mobile */
    .ci-legals { padding: 100px 20px 60px; }

    /* Tagline bridge mobile */
    .ci-tagline-bridge {
        margin-top: -300px;
        background: linear-gradient(to bottom, var(--ci-white) 300px, var(--ci-black) 300px);
    }
    #apropos { padding-bottom: 50px; }
    #pour-qui { padding-bottom: 360px; }
    #qui-sommes-nous { padding-top: 100px; padding-bottom: 70px; }
    #nos-formules { padding-bottom: 70px; }

}

/* ============================================================
   MENTIONS LÉGALES
   ============================================================ */
.ci-page-legals #site-header { background: var(--ci-black); }

.ci-legals {
    background: var(--ci-white);
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.ci-legals-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.ci-legals-title {
    font-family: var(--ci-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--ci-black);
    margin: 0 0 48px;
}

.ci-legals-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ci-legals-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ci-legals-section h2 {
    font-family: var(--ci-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--ci-black);
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ci-legals-section p,
.ci-legals-section li {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #444;
    margin: 0 0 8px;
}

.ci-legals-section a {
    color: var(--ci-black);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ci-legals-section a:hover { color: var(--ci-pink); }

.ci-legals-rich h3 {
    font-family: var(--ci-font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ci-black);
    margin: 24px 0 6px;
}

.ci-legals-rich h3:first-child { margin-top: 0; }

.ci-footer-sep { opacity: 0.4; }

/* ============================================================
   VIDEO CONCEPT (mobile uniquement)
   ============================================================ */
.ci-concept-video {
    display: none;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.ci-concept-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-concept-video-instagram {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(193, 53, 132, 0.726);
    border-radius: 20%;
    color: var(--ci-white);
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.ci-concept-video-instagram svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ci-concept-video-cta {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}

.ci-concept-video-text {
    color: var(--ci-white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   FORMES GEOMETRIQUES — PROFONDEUR VISUELLE
   Cercles rose/vert + traits calligraphiques, plein centre
   Inspiration : charte graphique Instagram Care Impact
   ============================================================ */

.ci-section { position: relative; }

.ci-section > .ci-container {
    position: relative;
    z-index: 1;
}

/* Reset commun pseudo-elements */
#apropos::before,
#pour-qui::before, #pour-qui::after,
#qui-sommes-nous::before, #qui-sommes-nous::after,
#nos-formules::before, #nos-formules::after,
#galerie::before, #galerie::after,
#contact::before, #contact::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* -------- CONCEPT (fond blanc) -------- */
#apropos {
    overflow: hidden;
    view-timeline-name: --apropos-tl;
    view-timeline-axis: block;
}

/* Disque rose rempli — parallax lent, defile moins vite que la section (effet profondeur) */
#apropos::before {
    top: 45%;
    left: 38%;
    width: clamp(220px, 30vw, 380px);
    height: clamp(220px, 30vw, 380px);
    margin-top: calc(clamp(220px, 30vw, 380px) / -2);
    margin-left: calc(clamp(220px, 30vw, 380px) / -2);
    background: rgba(255, 60, 160, 0.12);
    animation: apropos-circle-parallax linear;
    animation-timeline: --apropos-tl;
    animation-range: cover 0% cover 100%;
}

/* Grand cercle outline vert — haut-droite */
#apropos {
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='46' fill='%23A8D400' fill-opacity='0.12'/></svg>");
    background-repeat: no-repeat;
    background-position: right -260px top -100px;
    background-size: clamp(400px, 52vw, 700px);
}

/* -------- POUR QUI (fond blanc) -------- */
#pour-qui {
    overflow: hidden;
    position: relative;
}

/* Trait vert ondule, du haut-centre vers le milieu-droite */
.ci-pour-qui-trace {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.ci-pour-qui-trace path {
    fill: none;
    stroke: #FF3CA0;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-opacity: 0.45;
}
#pour-qui .ci-container { position: relative; z-index: 1; }

/* Grand cercle outline vert — coin bas-droite */
#pour-qui::before {
    bottom: 8%;
    right: -8%;
    width: clamp(280px, 38vw, 520px);
    height: clamp(280px, 38vw, 520px);
    border: 1px solid rgba(200, 255, 0, 0.28);
}


/* Disque vert — coin haut-gauche */
#pour-qui::after {
    top: 4%;
    left: -5%;
    width: clamp(160px, 22vw, 280px);
    height: clamp(160px, 22vw, 280px);
    background: rgba(168, 212, 0, 0.18);
}


/* -------- ABOUT/BIO (fond noir) -------- */
#qui-sommes-nous {
    overflow: hidden;
    view-timeline-name: --qsn-tl;
    view-timeline-axis: block;
}

/* Tres grand cercle outline vert — coin haut-gauche (anime, descend au scroll) */
#qui-sommes-nous::before {
    top: -25vw;
    left: -9%;
    width: clamp(570px, 65vw, 1020px);
    height: clamp(570px, 65vw, 1020px);
    border: 3px solid rgba(200, 255, 0, 0.16);
    animation: about-circle-drift linear;
    animation-timeline: --qsn-tl;
    animation-range: cover 0% cover 100%;
}

/* Disque rose — coin bas-droite */
#qui-sommes-nous::after {
    bottom: 6%;
    right: 0%;
    width: clamp(150px, 20vw, 280px);
    height: clamp(150px, 20vw, 280px);
    background: rgba(255, 60, 160, 0.14);
    animation: qsn-disc-drift linear;
    animation-timeline: --qsn-tl;
    animation-range: cover 0% cover 100%;
}

/* Trait vert — milieu-haut */
#qui-sommes-nous {
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 820 160'><path d='M10 145 C 120 10, 280 150, 400 50 C 520 -40, 660 130, 800 35' fill='none' stroke='%23C8FF00' stroke-width='1.4' stroke-linecap='round' stroke-opacity='0.18'/></svg>");
    background-repeat: no-repeat;
    background-position: 70% 65%;
    background-size:
        clamp(520px, 80vw, 980px) auto;
}

/* -------- FORMULES (fond gris) -------- */
#nos-formules {
    overflow: hidden;
    view-timeline-name: --formules-tl;
    view-timeline-axis: block;
}

/* Disque rose — coin haut-droite */
#nos-formules::before {
    top: 3%;
    right: -9%;
    width: clamp(280px, 38vw, 520px);
    height: clamp(280px, 38vw, 520px);
    background: rgba(255, 60, 160, 0.08);
    transform-origin: center center;
    animation: formules-disc-grow linear;
    animation-timeline: --formules-tl;
    animation-range: cover 0% cover 100%;
}

#nos-formules::after {
    display: none;
}

/* -------- GALERIE (fond blanc) -------- */
#galerie { overflow: hidden; }

/* Disque vert — coin haut-gauche */
#galerie::before {
    top: -6%;
    left: -5%;
    width: clamp(260px, 35vw, 460px);
    height: clamp(260px, 35vw, 460px);
    background: rgba(200, 255, 0, 0.11);
}

/* Disque rose — coin bas-droite */
#galerie::after {
    bottom: -45%;
    right: -30%;
    width: clamp(360px, 48vw, 650px);
    height: clamp(360px, 48vw, 650px);
    background: rgba(255, 60, 160, 0.12);
}

/* Trait noir — haut-centre | mini-disque vert | mini-cercle vert */
#galerie {
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 150'><path d='M10 90 C 70 20, 160 130, 260 70 S 400 110 490 60' fill='none' stroke='%23111111' stroke-width='1.4' stroke-linecap='round' stroke-opacity='0.07'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='50' fill='%23C8FF00' fill-opacity='0.22'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='46' fill='none' stroke='%23C8FF00' stroke-width='1.5' stroke-opacity='0.22'/></svg>");
    background-repeat: no-repeat;
    background-position: 50% 28%, 12% 78%, 65% 88%;
    background-size:
        clamp(360px, 52vw, 680px) auto,
        30px,
        40px;
}

/* -------- CONTACT (fond noir) -------- */
#contact {
    overflow: hidden;
    view-timeline-name: --contact-tl;
    view-timeline-axis: block;
}

/* Grand disque vert — coin bas-gauche, grossit progressivement au scroll */
#contact::before {
    bottom: -35%;
    left: -12%;
    width: clamp(340px, 46vw, 640px);
    height: clamp(340px, 46vw, 640px);
    background: rgba(200, 255, 0, 0.12);
    transform-origin: center center;
    animation: contact-disc-grow linear;
    animation-timeline: --contact-tl;
    animation-range: cover 0% cover 100%;
}

/* Cercle outline rose — coin haut-droite, statique */
#contact::after {
    top: -14%;
    right: -12%;
    width: clamp(360px, 48vw, 620px);
    height: clamp(360px, 48vw, 620px);
    border: 2.5px solid rgba(255, 60, 160, 0.28);
}

/* -------- Animations au scroll (CSS pur, view timeline) -------- */
@keyframes apropos-circle-parallax {
    from { transform: translate(0px, -45vh)    scale(0.3); }
    to   { transform: translate(-120px, 45vh)  scale(1.5); }
}

@keyframes about-circle-drift {
    from { transform: translate(-140px, -120px) scale(0.5); }
    to   { transform: translate(180px, 210px)   scale(1.5); }
}

@keyframes qsn-disc-drift {
    from { transform: translate(190px, 150px); }
    to   { transform: translate(-400px, -400px); }
}

@keyframes contact-disc-grow {
    from { transform: scale(0.5); }
    to   { transform: scale(1.5); }
}


@keyframes formules-disc-grow {
    from { transform: scale(0.15); }
    to   { transform: scale(4); }
}

/* -------- Mobile : repositionnement des formes pour visibilite -------- */
@media (max-width: 768px) {
    #apropos::before { top: 40%; }

    #apropos {
        background-position: right -180px top -50px;
        background-size: 380px;
    }

    #pour-qui::before       { bottom: 12%; right: -25%; width: 220px; height: 220px; }
    #pour-qui::after        { top: 0px;     left: -10%;  width: 200px; height: 200px; }

    #qui-sommes-nous::before { top: -50px;   left: -60px;   width: 420px; height: 420px; }
    #qui-sommes-nous::after  { bottom: 8%; right: -25%; width: 200px; height: 200px; }

    #nos-formules::before   { top: 6%;    right: -25%; width: 220px; height: 220px; }
    #nos-formules::after    { bottom: -3%; left: -25%; width: 250px; height: 250px; }

    #galerie::before        { top: 3%;     left: -22%;  width: 200px; height: 200px; }
    #galerie::after         { bottom: -28%; right: -38%; width: 400px; height: 400px; }

    #contact::before        { bottom: -20%; left: -50%;  width: 500px; height: 500px; }
    #contact::after         { top: -8%;    right: -300px; width: 500px; height: 500px; }

    #nos-formules::before {
        animation-name: formules-disc-grow-mobile;
    }

    #qui-sommes-nous::before {
        animation-name: about-circle-drift-mobile;
    }
}

@keyframes formules-disc-grow-mobile {
    from { transform: scale(0.15); }
    to   { transform: scale(8); }
}

@keyframes about-circle-drift-mobile {
    from { transform: translate(-140px, -120px) scale(0.2); }
    to   { transform: translate(180px, 210px)   scale(5); }
}

/* -------- Respect de prefers-reduced-motion -------- */
@media (prefers-reduced-motion: reduce) {
    #apropos::before,
    #qui-sommes-nous::before,
    #nos-formules::before,
    #contact::before {
        animation: none;
    }
}

@media (max-width: 768px) {
    .ci-concept-image { display: none; }
    .ci-concept-video { display: block; }
}
