/* ============================================
   PAGE PRODUIT - CRÉATION DE SITE INTERNET
   Nouveau design — mobile first
   Remplace public/style/creation-site-internet.css
   ============================================ */

/* ---------- Interactions : couleurs qui arrivent progressivement ---------- */
/* (le scroll fluide natif est déjà activé dans base.css : html { scroll-behavior: smooth }) */
.csi-hero a,
.csi-section a,
.csi-budget a,
.csi-devis a,
.csi-sticky-bar a,
.csi-note a,
.csi-faq-question,
.csi-form button {
    transition: background-color 0.35s ease,
                color 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .csi-hero a,
    .csi-section a,
    .csi-budget a,
    .csi-devis a,
    .csi-sticky-bar a,
    .csi-note a,
    .csi-faq-question,
    .csi-form button { transition: none; }
}

/* ---------- Conteneurs & rythme ---------- */
.csi-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.csi-container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.csi-section {
    padding: 3.5rem 0;
    position: relative;
}

.csi-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--vert-persil);
    margin: 0 0 1.2rem;
    text-wrap: balance;
}

.csi-paragraph {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.85;
    max-width: 68ch;
    text-wrap: pretty;
}

.csi-paragraph-dark { color: var(--noir-olive); }

.csi-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--rouge-tomate);
    margin: 1.5rem 0;
}

.csi-kicker {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rouge-tomate);
    margin: 0 0 1.2rem;
}

.csi-cta-center {
    margin-top: 2rem;
}

/* Boutons : on réutilise .btn / .btn-primary de base.css.
   Variante carrée (blueprint) pour le formulaire. */
.csi-btn-block {
    width: 100%;
}

/* ---------- HERO ---------- */
.csi-hero {
    position: relative;
    padding: 3rem 1.5rem 3.5rem;
    overflow: hidden;
}

.csi-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 4rem;
    align-items: center;
}

.csi-hero-text {
    flex: 1 1 420px;
    min-width: 0;
}

.csi-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.csi-hero-eyebrow span:first-child {
    width: 34px;
    height: 2px;
    background: var(--rouge-tomate);
    flex: none;
}

.csi-hero-eyebrow span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rouge-tomate);
}

.csi-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 1.4rem;
    text-wrap: balance;
}

/* Surlignage jaune façon marqueur */
.csi-mark {
    background: linear-gradient(transparent 62%, var(--jaune-oeuf) 62%);
}

.csi-hero-text p {
    font-size: 1.02rem;
    line-height: 1.85;
    max-width: 60ch;
    margin: 0 0 1rem;
}

.csi-hero-highlight {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--rouge-tomate);
    line-height: 1.6;
    margin: 0 0 1.8rem !important;
    max-width: 54ch;
}

.csi-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.csi-hero-microcopy {
    font-size: 0.9rem;
    font-style: italic;
    color: #5b6357;
    margin: 1.2rem 0 0 !important;
    max-width: 56ch;
}

/* Stickers flottants */
.csi-hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.csi-hero-decoration img {
    position: absolute;
    height: auto;
}

.csi-hero-decoration .sticker-1 {
    top: 4%;
    right: 4%;
    width: 52px;
    animation: csiFloat1 5s ease-in-out infinite;
}

.csi-hero-decoration .sticker-2 {
    bottom: 8%;
    left: 2%;
    width: 62px;
    animation: csiFloat2 6s ease-in-out infinite 0.8s;
}

@keyframes csiFloat1 {
    0%, 100% { transform: translateY(0) rotate(14deg); }
    50%      { transform: translateY(-10px) rotate(14deg); }
}

@keyframes csiFloat2 {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50%      { transform: translateY(-12px) rotate(-8deg); }
}

/* ---------- ARDOISE DU CHEF (prix) ---------- */
.csi-ardoise-wrap {
    flex: 1 1 260px;
    display: flex;
    justify-content: center;
}

.csi-ardoise {
    position: relative;
    width: 100%;
    max-width: 340px;
    padding: 11px;
    transform: rotate(-2deg);
    border-radius: 4px;
    background-color: #8B5A2B;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 2px, rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 3px),
        repeating-linear-gradient(90deg, transparent 0, transparent 9px, rgba(255,255,255,0.045) 9px, rgba(255,255,255,0.045) 10px),
        repeating-linear-gradient(90deg, transparent 0, transparent 20px, rgba(0,0,0,0.06) 20px, rgba(0,0,0,0.06) 22px),
        linear-gradient(to bottom, #a86e32 0%, #7a4519 28%, #915228 55%, #6d3c16 80%, #7e4a22 100%);
    box-shadow: 8px 8px 0 #2e1106, 0 0 0 1px #2e1106;
}

.csi-ardoise-inner {
    position: relative;
    background-color: #263d28;
    border-radius: 2px;
    padding: 2.2rem 1.5rem 2rem;
    text-align: center;
    color: rgba(255,255,255,0.92);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.35);
}

.csi-ardoise-inner::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(255,255,255,0.2);
    pointer-events: none;
}

.csi-ardoise-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #fff;
    margin: 0 0 0.6rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.25);
}

.csi-ardoise-price {
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1.1;
    color: var(--jaune-oeuf);
    margin: 0 0 1.3rem;
    text-shadow: 0 0 14px rgba(255,200,87,0.35);
}

.csi-ardoise-delay {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.72);
    margin: 0;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(255,255,255,0.25);
}

/* ---------- BANDEAU DÉFILANT ---------- */
.csi-marquee {
    background: var(--vert-persil);
    border-top: 2px solid var(--noir-olive);
    border-bottom: 2px solid var(--noir-olive);
    padding: 0.8rem 0;
    overflow: hidden;
}

.csi-marquee-track {
    display: flex;
    width: max-content;
    animation: csiMarquee 30s linear infinite;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--creme-fouettee);
}

.csi-marquee-track span {
    padding-right: 1.6rem;
}

.csi-marquee-track .csi-marquee-sep {
    color: var(--jaune-oeuf);
}

@keyframes csiMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- NOTE DE COMMANDE (situations) ---------- */
.csi-diag {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
    align-items: flex-start;
}

.csi-diag-intro {
    flex: 1 1 340px;
    min-width: 0;
}

.csi-ticket {
    flex: 1 1 320px;
    min-width: 0;
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.6rem 2.2rem;
    box-shadow: 0 14px 40px rgba(11,11,9,0.1);
    transform: rotate(0.7deg);
}

.csi-ticket-head {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 1.3rem;
    padding-bottom: 1rem;
    border-bottom: 2px dashed #e3dbcd;
}

.csi-ticket ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.csi-ticket li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.65;
}

.csi-ticket li::before {
    content: '';
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 0.35rem;
    border: 2px solid var(--rouge-tomate);
}

/* ---------- BÉNÉFICES ---------- */
/* Sous "Il doit vous aider à :", dans la colonne de gauche */
.csi-benefits {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 46ch;
}

.csi-benefits li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.6;
}

.csi-benefits li::before {
    content: '✓';
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--rouge-tomate);
    flex: none;
}

/* ---------- CARTE DES INGRÉDIENTS ---------- */
.csi-intro-split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: 2.2rem;
}

.csi-intro-split h2 { flex: 1 1 360px; margin-bottom: 0; }

.csi-intro-split-text {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    /* aligne la première ligne du texte sur celle du titre */
    padding-top: 0.4rem;
}

.csi-intro-split-text p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #3c4a3c;
}

.csi-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rouge-tomate);
    margin: 0 0 1.2rem;
}

.csi-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2.4rem 1.8rem;
    padding-top: 1.6rem;
}

/* Chaque ingrédient = une carte arrondie "tenue" par un sticker dans un coin */
/* Les deux premières fiches (textes les plus longs) tiennent la première rangée,
   les trois suivantes se partagent la seconde. */
.csi-menu-line {
    flex: 1 1 240px;
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(11,11,9,0.07);
    padding: 1.9rem 1.6rem 1.7rem;
}

.csi-menu-icon {
    position: absolute;
    top: -22px;
    right: -8px;
    width: 62px;
    height: 62px;
    object-fit: contain;
    transform: rotate(12deg);
    filter: drop-shadow(0 4px 8px rgba(11,11,9,0.18));
    pointer-events: none;
}

/* Un sticker sur deux change de taille et d'inclinaison — mais reste dans son coin
   haut droit : alterner vers la gauche ferait se chevaucher les stickers de deux
   cartes voisines dans la gouttière de la grille. */
.csi-menu-line:nth-child(even) .csi-menu-icon {
    top: -20px;
    width: 58px;
    height: 58px;
    transform: rotate(-13deg);
}

.csi-menu-line:nth-child(1),
.csi-menu-line:nth-child(2) { flex: 1 1 400px; }

.csi-menu-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    color: var(--rouge-tomate);
    margin-bottom: 0.7rem;
}

.csi-menu-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 1.4;
    color: var(--vert-persil);
    margin: 0 0 0.5rem;
}

.csi-menu-body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #5b6357;
}

.csi-note {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.4rem;
    padding: 1.5rem 1.6rem;
    background: var(--jaune-oeuf);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(11,11,9,0.08);
}

.csi-note p {
    flex: 1 1 340px;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
}

.csi-note .btn { flex: none; background: var(--noir-olive); color: var(--creme-fouettee); }
.csi-note .btn:hover { background: var(--rouge-tomate); color: #fff; }

/* ---------- BANDEAU DE MOTIF ---------- */
.csi-pattern-band {
    height: 56px;
    background-image: url('/assets/motifs/carreauxverts.png');
    background-size: 200px;
    background-repeat: repeat;
}

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

/* ---------- ÉTAPES ---------- */
.csi-timeline {
    position: relative;
    margin-top: 2.5rem;
}

.csi-timeline-inner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2.4rem 1.4rem;
}

/* Chaque étape porte son segment de frise : la ligne suit donc chaque rangée
   quand la grille passe à la ligne. */
.csi-timeline-step {
    padding-right: 0.8rem;
    background-image: repeating-linear-gradient(90deg, var(--vert-persil) 0 12px, transparent 12px 22px);
    background-repeat: no-repeat;
    background-position: 22px 21px;
    background-size: calc(100% + 1.4rem - 22px) 3px;
}

.csi-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--vert-persil);
    color: var(--creme-fouettee);
    box-shadow: 0 0 0 6px var(--creme-fouettee);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.csi-timeline-step:last-child { background-image: none; }

.csi-timeline-step:nth-child(even) .csi-step-number {
    background: var(--rouge-tomate);
    color: #fff;
}

.csi-timeline-step h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--noir-olive);
    margin: 0 0 0.45rem;
}

.csi-timeline-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #5b6357;
}

/* ---------- BUDGET (le seul aplat vert) ---------- */
.csi-budget {
    background: var(--vert-persil);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.csi-budget h2 { color: var(--creme-fouettee); }
.csi-budget .csi-paragraph { color: rgba(255,241,220,0.85); }
.csi-budget .csi-paragraph-dark { color: var(--noir-olive); }

.csi-tagline { color: var(--jaune-oeuf); }

.csi-budget-hand {
    position: absolute;
    pointer-events: none;
    right: 3%;
    top: 6%;
    width: 64px;
    opacity: 0.4;
    transform: rotate(16deg);
    pointer-events: none;
}

.csi-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

/* Toute la carte est un lien vers le formulaire de devis */
.csi-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.8rem 1.5rem;
    background: rgba(255,241,220,0.07);
    border: 1px solid rgba(255,241,220,0.22);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.csi-price-card:hover {
    background: rgba(255,241,220,0.12);
    border-color: var(--jaune-oeuf);
    transform: translateY(-4px);
}

.csi-price-card:focus-visible {
    outline: 2px solid var(--jaune-oeuf);
    outline-offset: 3px;
}

.csi-price-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--creme-fouettee);
    margin: 0 0 0.9rem;
}

.csi-price-amount {
    /* les montants ne doivent jamais se couper entre les milliers et les centaines */
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.15;
    color: var(--jaune-oeuf);
    margin: 0 0 0.4rem;
}

.csi-price-duration {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255,241,220,0.6);
    margin: 0 0 0.9rem;
}

.csi-price-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,241,220,0.85);
    margin: 0;
}

/* Sticker qui "tient" chaque carte : coin gauche, milieu, coin droit */
.csi-price-sticker {
    position: absolute;
    top: -24px;
    left: -10px;
    width: 62px;
    height: 62px;
    object-fit: contain;
    transform: rotate(-14deg);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
    pointer-events: none;
}

.csi-price-card:nth-child(2) .csi-price-sticker {
    left: 50%;
    margin-left: -31px;
    top: -26px;
    transform: rotate(8deg);
}

.csi-price-card:nth-child(3) .csi-price-sticker {
    left: auto;
    right: -10px;
    transform: rotate(15deg);
}

.csi-hosting {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 1.4rem;
    padding: 1.4rem 1.6rem;
    background: var(--jaune-oeuf);
    border-radius: 16px;
}

.csi-hosting:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.24);
}

.csi-hosting:focus-visible {
    outline: 2px solid var(--creme-fouettee);
    outline-offset: 3px;
}

.csi-hosting-text { flex: 1 1 300px; }

.csi-hosting h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--noir-olive);
    margin: 0 0 0.25rem;
}

.csi-hosting p {
    margin: 0;
    font-size: 0.92rem;
    color: #3a3319;
}

.csi-hosting-price {
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--noir-olive);
    margin: 0;
}

.csi-hosting-price span { font-size: 0.88rem; font-weight: 600; }

.csi-budget-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.csi-budget-footer > div { flex: 1 1 340px; }
.csi-budget-footer .btn { flex: none; }

.csi-budget-strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--jaune-oeuf);
    margin: 0;
    line-height: 1.8;
}

/* ---------- RÉALISATIONS ---------- */
.csi-realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.4rem;
    margin-top: 2.2rem;
}

.csi-realisation-card { display: flex; flex-direction: column; }

.csi-realisation-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(11,11,9,0.12);
}

.csi-realisation-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.csi-realisation-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--noir-olive);
    margin: 1.3rem 0 0.2rem;
}

.csi-realisation-context {
    font-size: 0.88rem;
    font-style: italic;
    color: #8d8d84;
    margin: 0 0 0.9rem;
}

.csi-realisation-card > p {
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    line-height: 1.75;
}

.csi-realisation-details {
    border-top: 1px solid #d9d0be;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.csi-realisation-details p { margin: 0; font-size: 0.95rem; line-height: 1.7; }

.csi-realisation-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rouge-tomate);
    margin-bottom: 0.2rem !important;
}

/* ---------- POURQUOI LBC ---------- */
.csi-why {
    padding-top: 0;
}

.csi-why-head {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3.5rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.csi-why-head h2 { flex: 1 1 320px; margin-bottom: 0; }
.csi-why-head-text { flex: 1 1 380px; }
.csi-why-head-text p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.85; }
.csi-why-head-text p:last-child { margin-bottom: 0; }

/* Liste éditoriale : titre surligné à gauche, explication à droite, filets fins.
   Pas de cartes — la page en compte déjà assez. */
.csi-why-list { display: flex; flex-direction: column; }

.csi-why-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    align-items: baseline;
    padding: 1.9rem 0;
    border-top: 1px solid rgba(11,11,9,0.16);
    transition: background-color 0.3s ease;
}

.csi-why-row:last-child { border-bottom: 1px solid rgba(11,11,9,0.16); }

.csi-why-yellow:hover { background: color-mix(in srgb, var(--jaune-oeuf) 12%, transparent); }
.csi-why-pink:hover   { background: color-mix(in srgb, var(--rose-bonbon, #EA94A6) 12%, transparent); }
.csi-why-red:hover    { background: color-mix(in srgb, var(--rouge-tomate) 9%, transparent); }
.csi-why-green:hover  { background: color-mix(in srgb, var(--vert-persil) 8%, transparent); }

.csi-why-head-line {
    flex: 1 1 300px;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.csi-why-head-line img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: none;
    transform: translateY(6px) rotate(-8deg);
}

.csi-why-pink .csi-why-head-line img  { transform: translateY(6px) rotate(10deg); }
.csi-why-red .csi-why-head-line img   { transform: translateY(6px) rotate(-12deg); }
.csi-why-green .csi-why-head-line img { transform: translateY(6px) rotate(8deg); }

.csi-why-row h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.22rem;
    line-height: 1.3;
    color: var(--vert-persil);
    margin: 0;
}

/* Surlignage au marqueur sous le titre */
.csi-why-mark { background: linear-gradient(transparent 78%, var(--jaune-oeuf) 78%); }
.csi-why-pink .csi-why-mark  { background: linear-gradient(transparent 78%, var(--rose-bonbon, #EA94A6) 78%); }
.csi-why-red .csi-why-mark   { background: linear-gradient(transparent 78%, color-mix(in srgb, var(--rouge-tomate) 35%, transparent) 78%); }
.csi-why-green .csi-why-mark { background: linear-gradient(transparent 78%, color-mix(in srgb, var(--vert-persil) 30%, transparent) 78%); }

.csi-why-row p {
    flex: 1 1 380px;
    min-width: 0;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.8;
    color: #3c4a3c;
}

@media (prefers-reduced-motion: reduce) {
    .csi-why-row, .csi-hosting { transition: none; }
    .csi-hosting:hover { transform: none; }
}

/* ---------- FAQ ---------- */
.csi-faq { border-top: 1px solid var(--noir-olive); }

.csi-faq-item { border-bottom: 1px solid var(--noir-olive); }

.csi-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.3rem 0.2rem;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--vert-persil);
    transition: color 0.2s ease;
}

.csi-faq-question:hover { color: var(--rouge-tomate); }

.csi-faq-toggle {
    flex: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--vert-persil);
    transition: transform 0.25s ease, color 0.25s ease;
}

.csi-faq-item.csi-faq-open .csi-faq-toggle {
    transform: rotate(45deg);
    color: var(--rose-bonbon, #EA94A6);
}

.csi-faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem 0 0.2rem;
}

.csi-faq-item.csi-faq-open .csi-faq-answer {
    max-height: 420px;
    opacity: 1;
    padding: 0 2rem 1.6rem 0.2rem;
}

.csi-faq-answer p {
    transform: translateY(-6px);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.csi-faq-item.csi-faq-open .csi-faq-answer p { transform: translateY(0); }

.csi-faq-answer p {
    margin: 0 0 0.8rem;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #3c4a3c;
}

.csi-faq-answer p:last-child { margin-bottom: 0; }

/* ---------- DEVIS ---------- */
.csi-devis {
    position: relative;
    background: var(--vert-persil);
    padding: 3rem 0 3.5rem;
}

.csi-devis-inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.csi-devis-card {
    position: relative;
    background: var(--creme-fouettee);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.28);
    padding: 2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem 3rem;
}

/* Sticker qui "tient" la carte du formulaire */
.csi-devis-sticker {
    position: absolute;
    top: -26px;
    right: -12px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    transform: rotate(14deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    pointer-events: none;
}

.csi-devis-text { flex: 1 1 300px; min-width: 0; }
.csi-devis-text h2 { margin-bottom: 1.1rem; }
.csi-devis-text p { margin: 0 0 1rem; font-size: 0.98rem; line-height: 1.8; }

.csi-no-list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.csi-no-list li { display: flex; gap: 0.8rem; font-size: 0.98rem; }

.csi-no-list li::before {
    content: '✓';
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--vert-persil);
}

.csi-devis-hand {
    width: 78px;
    margin-top: 1.5rem;
    transform: rotate(-10deg);
}

.csi-form {
    flex: 1 1 300px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.csi-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--vert-persil);
    margin: 0;
}

.csi-form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--noir-olive);
    margin-bottom: 0.4rem;
}

.csi-required { color: var(--rouge-tomate); }

.csi-form-group input,
.csi-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e8e0d5;
    border-radius: 10px;
    background: #fff;
    font-family: 'Libre Baskerville', serif;
    font-size: 0.98rem;
    color: var(--noir-olive);
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.csi-form-group input:focus,
.csi-form-group textarea:focus {
    outline: none;
    border-color: var(--rouge-tomate);
}

.csi-form-note {
    text-align: center;
    margin: 0;
    font-size: 0.8rem;
    color: #8d8d84;
}

.csi-error-msg {
    display: none;
    text-align: center;
    color: var(--rouge-tomate);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- BARRE D'ADDITION COLLANTE ---------- */
.csi-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--vert-persil);
    color: var(--creme-fouettee);
    padding: 0.75rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem 1.4rem;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
    transform: translateY(110%);
    transition: transform 0.35s ease;
}

.csi-sticky-bar.csi-bar-visible { transform: translateY(0); }

.csi-sticky-bar p {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
}

.csi-sticky-bar strong { color: var(--jaune-oeuf); }

.csi-sticky-bar .btn { padding: 0.6rem 1.3rem; font-size: 0.82rem; }

/* ---------- APPARITION AU SCROLL ---------- */
.csi-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.csi-reveal.csi-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   TABLETTE
   ============================================ */
@media (min-width: 768px) {
    .csi-container,
    .csi-container-narrow { padding: 0 2rem; }

    .csi-section { padding: 4.5rem 0; }
    .csi-section h2 { font-size: 2.1rem; }

    .csi-hero { padding: 4rem 2rem 4.5rem; }
    .csi-hero h1 { font-size: 2.5rem; }
    .csi-hero-decoration .sticker-1 { width: 64px; }
    .csi-hero-decoration .sticker-2 { width: 78px; }

    /* Les deux CTA du hero tiennent sur la même ligne à partir du tablette :
       on réduit leur emprise par rapport au .btn-large générique (pensé pour
       un bouton isolé). */
    .csi-hero-ctas {
        flex-wrap: nowrap;
    }
    .csi-hero-ctas .btn-large {
        padding: 1rem 1.6rem;
        font-size: 0.92rem;
        white-space: nowrap;
    }

    .csi-marquee-track { font-size: 0.85rem; }
    .csi-marquee-track span { padding-right: 2rem; }

    .csi-menu { gap: 2.4rem 1.8rem; }
    .csi-note { padding: 1.6rem 2rem; }

    .csi-pattern-band { height: 64px; background-size: 260px; }

    .csi-budget { padding: 4.5rem 0; }
    .csi-budget-hand { width: 88px; }
    .csi-price-card { padding: 2.1rem 1.8rem; }
    .csi-price-amount { font-size: 1.6rem; }

    .csi-ticket { padding: 2.2rem 2rem 2.4rem; }

    .csi-devis { padding: 4rem 0 4.5rem; }
    .csi-devis-card { padding: 2.6rem; }
    .csi-devis-inner { padding: 0 2rem; }

    .csi-faq-question { font-size: 1.05rem; padding: 1.5rem 0.2rem; }

    .csi-sticky-bar { padding: 0.9rem 2rem; }
    .csi-sticky-bar p { font-size: 0.92rem; }
}

/* ============================================
   DESKTOP
   ============================================ */
@media (min-width: 1024px) {
    .csi-section { padding: 5.5rem 0; }
    .csi-section h2 { font-size: 2.5rem; }
    .csi-hero h1 { font-size: 3.1rem; }
    .csi-hero { padding: 4.5rem 2rem 5.5rem; }
    .csi-budget { padding: 5.5rem 0; }
    .csi-devis { padding: 4.5rem 0 5rem; }
    .csi-devis-card { padding: 3rem; }
}

/* ============================================
   ACCESSIBILITÉ / MOUVEMENT RÉDUIT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .csi-hero-decoration img,
    .csi-marquee-track { animation: none; }

    .csi-reveal { opacity: 1; transform: none; transition: none; }
    .csi-faq-answer,
    .csi-faq-answer p { transition: none; }
    .csi-sticky-bar { transition: none; }
}
