/* ═══════════════════════════════════════════
   LA CROQUETTERIE — PAGE NOTRE HISTOIRE
   À ajouter dans custom.css via FTP
   ═══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
    --lc-gris: #414142;
    --lc-vert: #a7bc44;
    --lc-vert-light: #bdd15a;
    --lc-kraft: #d9ceb5;
    --lc-kraft-light: #ede6d6;
    --lc-blanc: #ffffff;
    --lc-text: #3a3a3a;
    --lc-timeline-w: 3px;
}

/* ── FULL WIDTH BREAKOUT ──
   Neutralise les conteneurs PrestaShop sur la page Notre Histoire */
.page-cms-11 .cols-flex {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
.page-cms-11 .col-desktop-10,
.page-cms-11 .col-large-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.page-cms-11 .col-desktop-push-1,
.page-cms-11 .col-large-push-2 {
    left: 0 !important;
}
.page-cms-11 #content {
    overflow: hidden;
}

/* ── TIMELINE SECTION ── */
.lc-timeline {
    position: relative;
    padding: 60px 20px 100px;
    max-width: 100%;
    overflow: hidden;
}

.lc-timeline-line {
    position: absolute;
    left: 50%;
    top: 72px;
    bottom: 0;
    width: var(--lc-timeline-w);
    background: linear-gradient(to bottom, var(--lc-vert) 0%, var(--lc-vert) calc(100% - 80px), transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

/* ── ENTRY ── */
.lc-entry {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    animation: lcFadeUp 0.7s ease both;
}
.lc-entry:nth-child(2) { animation-delay: 0.1s; }
.lc-entry:nth-child(3) { animation-delay: 0.2s; }
.lc-entry:nth-child(4) { animation-delay: 0.3s; }
.lc-entry:nth-child(5) { animation-delay: 0.4s; }
.lc-entry:nth-child(6) { animation-delay: 0.5s; }
.lc-entry:nth-child(7) { animation-delay: 0.6s; }
.lc-entry:last-child {
    margin-bottom: 0;
}

/* Left layout */
.lc-entry--left .lc-entry-content {
    width: 45%;
    margin-right: auto;
    text-align: right;
    padding-right: 50px;
}
.lc-entry--left .lc-entry-image {
    width: 45%;
    margin-left: auto;
    padding-left: 50px;
}

/* Right layout */
.lc-entry--right {
    flex-direction: row-reverse;
}
.lc-entry--right .lc-entry-content {
    width: 45%;
    margin-left: auto;
    text-align: left;
    padding-left: 50px;
}
.lc-entry--right .lc-entry-image {
    width: 45%;
    margin-right: auto;
    padding-right: 50px;
}

/* Dot */
.lc-dot {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 18px;
    height: 18px;
    background: var(--lc-vert);
    border: 4px solid var(--lc-blanc);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px var(--lc-vert), 0 2px 8px rgba(0,0,0,0.12);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lc-entry:hover .lc-dot {
    transform: translateX(-50%) scale(1.25);
    box-shadow: 0 0 0 4px var(--lc-vert-light), 0 4px 16px rgba(167,188,68,0.3);
}

/* Date badge */
.lc-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--lc-blanc);
    background: var(--lc-vert);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.lc-entry-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--lc-gris);
    margin-bottom: 12px;
    line-height: 1.3;
}

.lc-entry-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--lc-text);
}

/* Image container */
.lc-entry-image {
    position: relative;
}

.lc-entry-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}
.lc-entry-blob img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lc-entry:nth-child(2) .lc-entry-blob { width: 280px; top: -40px; left: -30px; }
.lc-entry:nth-child(3) .lc-entry-blob { width: 260px; top: -30px; right: -20px; left: auto; }
.lc-entry:nth-child(4) .lc-entry-blob { width: 250px; top: -50px; left: -40px; }
.lc-entry:nth-child(5) .lc-entry-blob { width: 240px; top: -20px; right: -30px; left: auto; }
.lc-entry:nth-child(6) .lc-entry-blob { width: 270px; top: -35px; left: -25px; }
.lc-entry:nth-child(7) .lc-entry-blob { width: 250px; top: -30px; right: -25px; left: auto; }

.lc-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}
.lc-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.lc-img-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* ── BOTTOM CTA (discret, fond transparent) ── */
.lc-cta {
    text-align: center;
    padding: 40px 20px 50px;
    border-top: 2px solid var(--lc-kraft);
}
.lc-cta h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--lc-gris);
    margin-bottom: 12px;
}
.lc-cta p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 24px;
    color: var(--lc-text);
}
.lc-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--lc-vert);
    color: var(--lc-blanc);
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
}
.lc-cta-btn:hover {
    background: var(--lc-vert-light);
    transform: translateY(-2px);
    color: var(--lc-blanc);
    text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .lc-timeline-line { left: 24px; }
    .lc-entry,
    .lc-entry--right { flex-direction: column !important; }
    .lc-entry--left .lc-entry-content,
    .lc-entry--right .lc-entry-content {
        width: 100%; text-align: left;
        padding: 0 0 0 56px; margin: 0;
    }
    .lc-entry--left .lc-entry-image,
    .lc-entry--right .lc-entry-image {
        width: 100%; padding: 16px 0 0 56px; margin: 0;
    }
    .lc-dot { left: 24px; }
    .lc-entry { margin-bottom: 50px; }
    .lc-img-wrap img { height: 200px; }
    .lc-entry-blob { display: none; }
}

/* ── ANIMATIONS ── */
@keyframes lcFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   LA CROQUETTERIE - PAGE CONTACT
   A ajouter dans custom.css via FTP
   ============================================= */

/* -- INTRO -- */
.lc-contact-intro {
    text-align: center;
    padding: 40px 20px 10px;
    max-width: 600px;
    margin: 0 auto;
}
.lc-contact-subtitle {
    font-size: 1.15rem;
    font-weight: 800;
    color: #414142;
    margin-bottom: 12px;
}
.lc-contact-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3a3a3a;
}

/* -- CARTES -- */
.lc-contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px 50px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.lc-contact-card {
    flex: 1 1 260px;
    max-width: 300px;
    background: #ede6d6;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lc-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Icone */
.lc-contact-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: #a7bc44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.lc-contact-icon svg {
    width: 26px;
    height: 26px;
}

.lc-contact-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #414142;
    margin-bottom: 10px;
}

.lc-contact-card-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #3a3a3a;
    margin-bottom: 16px;
}

.lc-contact-card-link {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #a7bc44;
    text-decoration: none;
    transition: color 0.3s;
}
.lc-contact-card-link:hover {
    color: #bdd15a;
    text-decoration: underline;
}

/* -- SECTION FORMULAIRE -- */
.lc-contact-form-section {
    padding: 20px 20px 60px;
    max-width: 700px;
    margin: 0 auto;
}

.lc-contact-form-inner {
    background: #414142;
    border-radius: 20px;
    padding: 44px 40px;
}

.lc-contact-form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.lc-contact-form-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    text-align: center;
}

/* -- Style du formulaire natif PrestaShop -- */
.lc-contact-form-wrap .contact-form {
    background: transparent;
    padding: 0;
    margin: 0;
}

.lc-contact-form-wrap label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.lc-contact-form-wrap .form-control,
.lc-contact-form-wrap input[type="text"],
.lc-contact-form-wrap input[type="email"],
.lc-contact-form-wrap textarea,
.lc-contact-form-wrap select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: border-color 0.3s, background 0.3s;
    width: 100%;
}
.lc-contact-form-wrap .form-control:focus,
.lc-contact-form-wrap input[type="text"]:focus,
.lc-contact-form-wrap input[type="email"]:focus,
.lc-contact-form-wrap textarea:focus,
.lc-contact-form-wrap select:focus {
    border-color: #a7bc44;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(167, 188, 68, 0.2);
}

.lc-contact-form-wrap textarea {
    min-height: 140px;
    resize: vertical;
}

.lc-contact-form-wrap select option {
    background: #414142;
    color: #ffffff;
}

.lc-contact-form-wrap ::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Bouton envoi */
.lc-contact-form-wrap .btn-primary,
.lc-contact-form-wrap button[type="submit"],
.lc-contact-form-wrap input[type="submit"] {
    background: #a7bc44;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 13px 36px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
    margin-top: 10px;
}
.lc-contact-form-wrap .btn-primary:hover,
.lc-contact-form-wrap button[type="submit"]:hover,
.lc-contact-form-wrap input[type="submit"]:hover {
    background: #bdd15a;
    transform: translateY(-2px);
}

/* Espacement des champs */
.lc-contact-form-wrap .form-group {
    margin-bottom: 20px;
}

/* Upload fichier */
.lc-contact-form-wrap .form-control-file {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Messages erreur / succes */
.lc-contact-form-wrap .alert-success {
    background: rgba(167, 188, 68, 0.15);
    border: 1px solid #a7bc44;
    color: #a7bc44;
    border-radius: 10px;
    padding: 14px 20px;
}
.lc-contact-form-wrap .alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid #dc3545;
    color: #ff6b7a;
    border-radius: 10px;
    padding: 14px 20px;
}

/* -- RESPONSIVE -- */
@media (max-width: 768px) {
    .lc-contact-cards {
        flex-direction: column;
        align-items: center;
    }
    .lc-contact-card {
        max-width: 100%;
        width: 100%;
    }
    .lc-contact-form-inner {
        padding: 30px 20px;
    }
}

/* =============================================
   LA CROQUETTERIE - PAGE ENGAGEMENTS
   A ajouter dans custom.css via FTP
   ============================================= */

/* -- FULL WIDTH (adaptez page-cms-XX) -- */
.page-cms-13 .cols-flex {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
.page-cms-13 .col-desktop-10,
.page-cms-13 .col-large-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.page-cms-13 .col-desktop-push-1,
.page-cms-13 .col-large-push-2 {
    left: 0 !important;
}
.page-cms-13 #content {
    overflow: hidden;
}

/* -- INTRO -- */
.lc-eng-intro {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 700px;
    margin: 0 auto;
}
.lc-eng-subtitle {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a7bc44;
    margin-bottom: 16px;
}
.lc-eng-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3a3a3a;
}

/* -- PILIERS -- */
.lc-eng-pillars {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.lc-eng-pillar {
    margin-bottom: 50px;
    border-radius: 20px;
    padding: 36px 32px;
    background: #ede6d6;
    position: relative;
    overflow: hidden;
}

/* Bandeau couleur gauche */
.lc-eng-pillar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 20px 0 0 20px;
}
.lc-eng-pillar--1::before { background: #a7bc44; }
.lc-eng-pillar--2::before { background: #c4a35a; }
.lc-eng-pillar--3::before { background: #e07b5a; }
.lc-eng-pillar--4::before { background: #5a9e8f; }
.lc-eng-pillar--5::before { background: #7a8c5d; }

/* Header pilier */
.lc-eng-pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.lc-eng-pillar-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.15;
    color: #414142;
}

.lc-eng-pillar-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #414142;
    line-height: 1.3;
}

.lc-eng-pillar-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #3a3a3a;
    margin-bottom: 24px;
    padding-left: 2px;
}

/* -- ENGAGEMENTS -- */
.lc-eng-commitments {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lc-eng-commitment {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lc-eng-commitment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.lc-eng-commit-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #a7bc44;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.lc-eng-commit-content h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #414142;
    margin-bottom: 4px;
    line-height: 1.3;
}

.lc-eng-commit-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555555;
}

/* Couleurs des pastilles par pilier */
.lc-eng-pillar--2 .lc-eng-commit-num { background: #c4a35a; }
.lc-eng-pillar--3 .lc-eng-commit-num { background: #e07b5a; }
.lc-eng-pillar--4 .lc-eng-commit-num { background: #5a9e8f; }
.lc-eng-pillar--5 .lc-eng-commit-num { background: #7a8c5d; }

/* -- CTA -- */
.lc-eng-cta {
    text-align: center;
    padding: 40px 20px 50px;
    border-top: 2px solid #d9ceb5;
}
.lc-eng-cta h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: #414142;
    margin-bottom: 12px;
}
.lc-eng-cta p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 24px;
    color: #3a3a3a;
}
.lc-eng-cta-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #a7bc44;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.3s;
}
.lc-eng-cta-btn:hover {
    background: #bdd15a;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

/* -- RESPONSIVE -- */
@media (max-width: 768px) {
    .lc-eng-pillar {
        padding: 28px 20px;
    }
    .lc-eng-commitment {
        padding: 14px 16px;
    }
}
