:root {
    --agro-brand: #e6007e;
    --agro-brand-dark: #9b0051;
    --agro-sun: #ffa600;
    --agro-leaf: #23724f;
    --agro-ocean: #007c89;
    --agro-ink: #241f23;
    --agro-muted: #6b6269;
    --agro-line: rgba(36, 31, 35, 0.12);
    --agro-page: #f7f5f0;
    --agro-surface: #ffffff;
    --agro-surface-soft: #fbfaf7;
    --agro-shadow-sm: 0 6px 18px rgba(36, 31, 35, 0.08);
    --agro-shadow-md: 0 14px 38px rgba(36, 31, 35, 0.13);
    --agro-shadow-lg: 0 24px 70px rgba(36, 31, 35, 0.18);
    --agro-radius: 8px;
    --fuchsia: var(--agro-brand);
    --yellow: var(--agro-sun);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(247, 245, 240, 0.96) 38%, #f7f5f0 100%),
        linear-gradient(90deg, rgba(35, 114, 79, 0.07), rgba(0, 124, 137, 0.05));
    color: var(--agro-ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    background: rgba(230, 0, 126, 0.2);
}

img {
    max-width: 100%;
}

a {
    text-underline-offset: 0.18em;
}

a,
button,
.btn,
.nav-link,
.dropdown-item,
.offer-card,
.menu-card,
.stat-card,
.info-card,
.action-card,
.payment-option,
.panier-item {
    transition-duration: 180ms;
    transition-timing-function: ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 3px solid rgba(230, 0, 126, 0.35) !important;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(255, 166, 0, 0.2) !important;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    max-width: 1180px;
}

.top-bar {
    background: linear-gradient(90deg, #201a1f 0%, #3a2530 55%, var(--agro-brand) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(36, 31, 35, 0.16) !important;
}

.top-bar-content {
    min-height: 44px;
}

.top-bar-link,
.top-bar-btn,
.top-bar-cart {
    border-radius: var(--agro-radius) !important;
}

.top-bar-link,
.top-bar-cart {
    color: #fff !important;
}

.top-bar-link:hover,
.top-bar-cart:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    transform: translateY(-1px);
}

.top-bar-btn {
    background: #fff !important;
    color: var(--agro-brand) !important;
    box-shadow: none !important;
}

.top-bar-btn:hover {
    background: var(--agro-sun) !important;
    color: #211900 !important;
}

.panier-badge-top,
.panier-badge {
    background: var(--agro-sun) !important;
    color: #251600 !important;
    border: 2px solid #fff !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(36, 31, 35, 0.08);
    box-shadow: 0 10px 24px rgba(36, 31, 35, 0.08) !important;
}

.navbar.py-3 {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.navbar.is-scrolled {
    box-shadow: 0 12px 32px rgba(36, 31, 35, 0.14) !important;
}

.navbar .container {
    gap: 1rem;
}

.navbar-brand {
    letter-spacing: 0 !important;
}

.logo-agropeyi-navbar,
.navbar-brand img {
    border-radius: var(--agro-radius) !important;
    box-shadow: none;
    width: 96px !important;
    height: 54px !important;
    object-fit: contain !important;
}

.navbar-toggler {
    border: 1px solid rgba(230, 0, 126, 0.18) !important;
    border-radius: var(--agro-radius) !important;
    padding: 0.55rem 0.7rem !important;
    width: auto !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(230, 0, 126, 0.12) !important;
}

.navbar-toggler-text {
    letter-spacing: 0 !important;
}

.navbar-nav {
    gap: 0.15rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    row-gap: 0.25rem !important;
}

.navbar-collapse {
    min-width: 0;
}

.nav-link {
    color: var(--agro-ink) !important;
    border-radius: var(--agro-radius);
    font-size: 0.8rem !important;
    line-height: 1.2;
    letter-spacing: 0 !important;
    margin-right: 0 !important;
    padding: 0.52rem 0.48rem !important;
    white-space: nowrap !important;
}

.nav-link::after {
    display: none !important;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(230, 0, 126, 0.08);
    color: var(--agro-brand) !important;
}

.dropdown-menu {
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-md) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    border-radius: 6px;
    color: var(--agro-ink);
}

.dropdown-item:hover {
    background: rgba(230, 0, 126, 0.08) !important;
    color: var(--agro-brand) !important;
}

.hero-section {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    border-radius: 0 !important;
    padding: 5.2rem 0 4.8rem !important;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35), 0 18px 50px rgba(36, 31, 35, 0.16) !important;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 17, 20, 0.78) 0%, rgba(54, 30, 41, 0.54) 52%, rgba(230, 0, 126, 0.22) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.26));
    pointer-events: none;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.92;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.35rem !important;
    line-height: 1.12;
    letter-spacing: 0 !important;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.hero-subtitle,
.hero-section .lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500 !important;
    line-height: 1.65;
}

.logo-agropeyi-hero {
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.26));
}

.section-title,
.category-title {
    letter-spacing: 0 !important;
}

.section-title::after {
    background: linear-gradient(90deg, var(--agro-leaf), var(--agro-sun), var(--agro-brand)) !important;
}

.category-title {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: var(--agro-surface) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-sm) !important;
    padding: 0.85rem 1.25rem !important;
}

.category-icon {
    animation: none !important;
    margin-right: 0 !important;
    line-height: 1;
}

.arc-section {
    background: var(--agro-surface) !important;
    border-top: 1px solid rgba(36, 31, 35, 0.08);
    border-bottom: 1px solid rgba(36, 31, 35, 0.08);
    border-radius: 0 !important;
    margin: 0 !important;
}

.arc-section h2,
.welcome-banner h4,
.recap-commande h4,
.validation-body h4,
.compte-body h3,
.client-body h3 {
    letter-spacing: 0 !important;
}

.offer-card,
.card.offer-card {
    background: var(--agro-surface) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-sm) !important;
    overflow: hidden;
    isolation: isolate;
}

.offer-card::before,
.offer-card::after {
    display: none !important;
}

.offer-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--agro-shadow-md) !important;
    border-color: rgba(230, 0, 126, 0.26) !important;
}

.card-img-wrapper {
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    background: #f1eee6 !important;
}

.offer-card .card-img-top {
    height: 100% !important;
    min-height: 220px;
    object-fit: cover;
}

.offer-card:hover .card-img-top {
    transform: scale(1.035) !important;
    filter: saturate(1.06) contrast(1.02) !important;
}

.offer-badge {
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(36, 31, 35, 0.16) !important;
    letter-spacing: 0 !important;
}

.offer-badge-yellow {
    background: var(--agro-sun) !important;
    color: #241900 !important;
}

.offer-badge-green {
    background: var(--agro-leaf) !important;
}

.offer-badge-orange {
    background: #d95f2b !important;
}

.offer-title {
    color: var(--agro-brand) !important;
    line-height: 1.25;
}

.offer-desc {
    color: var(--agro-muted) !important;
    line-height: 1.58 !important;
}

.offer-price {
    color: var(--agro-ink) !important;
    font-size: 1.22rem !important;
}

.offer-unit {
    color: var(--agro-muted) !important;
}

.btn,
.btn-fuchsia,
.btn-outline-fuchsia,
.btn-light,
.btn-outline-light,
.btn-outline-secondary,
.btn-outline-danger {
    border-radius: var(--agro-radius) !important;
    letter-spacing: 0 !important;
}

.btn-fuchsia,
.btn-primary {
    background: linear-gradient(135deg, var(--agro-brand), var(--agro-brand-dark)) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(230, 0, 126, 0.24) !important;
}

.btn-fuchsia:hover,
.btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(230, 0, 126, 0.3) !important;
}

.btn-fuchsia:active,
.btn-primary:active,
.btn.is-pressing {
    transform: translateY(0) scale(0.985) !important;
}

.btn-outline-fuchsia {
    border: 1px solid rgba(230, 0, 126, 0.42) !important;
    color: var(--agro-brand) !important;
}

.btn-outline-fuchsia:hover {
    background: var(--agro-brand) !important;
    color: #fff !important;
}

.form-control,
.form-select,
textarea.form-control {
    border: 1px solid rgba(36, 31, 35, 0.16) !important;
    border-radius: var(--agro-radius) !important;
    background-color: #fff !important;
    color: var(--agro-ink) !important;
    box-shadow: none !important;
}

.form-control:hover,
.form-select:hover,
textarea.form-control:hover {
    border-color: rgba(230, 0, 126, 0.35) !important;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: var(--agro-brand) !important;
    box-shadow: 0 0 0 4px rgba(230, 0, 126, 0.12) !important;
}

.form-label {
    color: var(--agro-ink) !important;
    letter-spacing: 0 !important;
}

.connexion-container,
.inscription-container,
.compte-container,
.client-container,
.validation-container,
.panier-container {
    border-radius: var(--agro-radius) !important;
}

.connexion-container,
.inscription-container,
.compte-body,
.client-body,
.validation-body,
.panier-container {
    background: var(--agro-surface) !important;
    border: 1px solid rgba(36, 31, 35, 0.1);
    box-shadow: var(--agro-shadow-md) !important;
}

.connexion-header,
.inscription-header,
.compte-header,
.client-header,
.validation-header,
.panier-header {
    background: linear-gradient(135deg, #241f23 0%, var(--agro-brand) 68%, var(--agro-sun) 100%) !important;
    color: #fff !important;
}

.connexion-header,
.inscription-header,
.compte-header,
.client-header,
.validation-header {
    border-radius: var(--agro-radius) var(--agro-radius) 0 0 !important;
}

.panier-header {
    border-radius: var(--agro-radius) !important;
    border-bottom: 0 !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.panier-header h1 {
    color: #fff !important;
    margin: 0;
}

.info-card,
.stat-card,
.menu-card,
.recap-commande,
.payment-option,
.panier-item,
.welcome-banner {
    background: var(--agro-surface-soft) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    border-left: 4px solid var(--agro-brand) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: none !important;
}

.info-card:hover,
.menu-card:hover,
.stat-card:hover,
.payment-option:hover,
.panier-item:hover {
    background: #fff !important;
    box-shadow: var(--agro-shadow-sm) !important;
    transform: translateY(-3px) !important;
}

.menu-card:hover {
    border-color: rgba(230, 0, 126, 0.22) !important;
    color: var(--agro-ink) !important;
}

.total-panier {
    background: linear-gradient(135deg, #241f23 0%, var(--agro-brand) 72%, var(--agro-sun) 100%) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-md) !important;
}

.quantite-control {
    gap: 0.4rem !important;
}

.quantite-control button {
    border-radius: var(--agro-radius) !important;
    border-color: rgba(230, 0, 126, 0.5) !important;
}

.quantite-control button:hover {
    background: var(--agro-brand) !important;
}

.quantite-control input {
    border-radius: var(--agro-radius) !important;
}

.panier-vide {
    background: var(--agro-surface-soft);
    border: 1px dashed rgba(36, 31, 35, 0.18);
    border-radius: var(--agro-radius);
}

.alert {
    border: 1px solid rgba(36, 31, 35, 0.08) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: none !important;
}

.footer,
footer {
    background: #241f23 !important;
}

footer a:hover {
    color: var(--agro-sun) !important;
}

#cookie-banner {
    background: #241f23 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-lg) !important;
}

.panier-notification {
    border-radius: var(--agro-radius) !important;
    background: linear-gradient(135deg, var(--agro-leaf), var(--agro-ocean)) !important;
    box-shadow: var(--agro-shadow-md) !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 360px;
        padding: 4.2rem 0 3.8rem !important;
    }

    .hero-title {
        font-size: 1.9rem !important;
    }

    .navbar-collapse {
        border: 1px solid rgba(36, 31, 35, 0.1) !important;
        border-radius: var(--agro-radius) !important;
        box-shadow: var(--agro-shadow-sm) !important;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link {
        text-align: left !important;
        padding: 0.78rem 0.9rem !important;
    }
}

@media (max-width: 767.98px) {
    body {
        background: var(--agro-page);
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero-section {
        min-height: 330px;
        padding: 3.6rem 0 3rem !important;
    }

    .hero-title {
        font-size: 1.55rem !important;
    }

    .hero-subtitle,
    .hero-section .lead {
        font-size: 0.98rem !important;
    }

    .offer-card .card-img-top {
        min-height: 180px;
    }

    .category-title {
        width: 100%;
        font-size: 1.05rem !important;
        padding: 0.8rem 1rem !important;
    }

    .connexion-body,
    .inscription-body,
    .compte-body,
    .client-body,
    .validation-body,
    .panier-container {
        padding: 1.25rem !important;
    }

    .total-panier {
        position: static !important;
    }

    .panier-item .row {
        row-gap: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .top-bar-right {
        gap: 0.35rem !important;
    }

    .top-bar-link,
    .top-bar-btn,
    .top-bar-cart {
        padding: 0.48rem 0.58rem !important;
    }

    .logo-agropeyi-navbar,
    .navbar-brand img {
        width: 76px !important;
        height: 44px !important;
        min-width: 60px !important;
    }

    .hero-section {
        min-height: 300px;
    }

    .hero-title {
        font-size: 1.35rem !important;
    }

    .btn,
    .btn-fuchsia {
        width: auto !important;
        max-width: 100%;
    }

    .d-grid .btn,
    .btn.w-100 {
        width: 100% !important;
    }

    input,
    select,
    textarea {
        width: 100% !important;
    }

    button.navbar-toggler,
    .quantite-control button {
        width: auto !important;
    }

    .quantite-control input {
        width: 56px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Refonte design v2 */
.top-bar-note {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 600;
}

.top-bar-note i {
    color: var(--agro-sun);
}

.home-page .hero-section {
    min-height: clamp(560px, 76vh, 780px);
    padding: 6rem 0 5.5rem !important;
}

.home-page .hero-section::before {
    background:
        linear-gradient(90deg, rgba(18, 15, 18, 0.84) 0%, rgba(39, 24, 32, 0.68) 46%, rgba(230, 0, 126, 0.24) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
}

.hero-content {
    max-width: 760px;
    text-align: left;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--agro-radius);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.home-page .logo-agropeyi-hero {
    width: 184px !important;
    max-width: 48vw !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.home-page .hero-title {
    color: #fff;
    font-size: clamp(3.2rem, 9vw, 6.8rem) !important;
    font-weight: 800;
    line-height: 0.94;
    margin-bottom: 1rem;
}

.home-page .hero-subtitle {
    max-width: 680px;
    margin: 0 0 1.5rem 0;
    font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.36) !important;
    color: #fff !important;
    font-weight: 800;
    padding: 12px 28px;
    backdrop-filter: blur(14px);
}

.btn-hero-secondary:hover {
    background: #fff !important;
    color: var(--agro-brand) !important;
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--agro-radius);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    backdrop-filter: blur(12px);
}

.hero-metrics strong {
    color: var(--agro-sun);
}

.home-quick-nav {
    position: relative;
    z-index: 3;
    margin-top: -42px;
    margin-bottom: 3rem;
}

.home-quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.home-quick-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 96px;
    padding: 1rem;
    background: var(--agro-surface);
    border: 1px solid rgba(36, 31, 35, 0.1);
    border-radius: var(--agro-radius);
    box-shadow: var(--agro-shadow-md);
    color: var(--agro-ink);
    text-decoration: none;
}

.home-quick-link:hover {
    color: var(--agro-ink);
    transform: translateY(-4px);
    border-color: rgba(230, 0, 126, 0.28);
    box-shadow: var(--agro-shadow-lg);
}

.home-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: var(--agro-radius);
    background: rgba(230, 0, 126, 0.1);
    color: var(--agro-brand);
    font-size: 1.3rem;
}

.home-quick-link:hover .home-quick-icon,
.category-title:hover .category-icon,
.offer-card:hover .offer-badge i,
.btn:hover > i:first-child {
    animation: agroIconPop 520ms ease;
}

@keyframes agroIconPop {
    0% { transform: scale(1); }
    45% { transform: scale(1.16) rotate(-4deg); }
    100% { transform: scale(1); }
}

.offer-card,
.home-quick-link,
.info-card,
.panier-item,
.menu-card {
    transform-origin: center;
}

.home-quick-link strong,
.home-quick-link small {
    display: block;
}

.home-quick-link strong {
    line-height: 1.2;
}

.home-quick-link small {
    margin-top: 0.18rem;
    color: var(--agro-muted);
    font-weight: 600;
    line-height: 1.25;
}

.home-story-section {
    padding: 5rem 0 !important;
    background: var(--agro-surface) !important;
    border-top: 1px solid rgba(36, 31, 35, 0.08);
    border-bottom: 1px solid rgba(36, 31, 35, 0.08);
}

.home-story-section .row {
    gap: 1.2rem 0;
}

.home-story-section h2,
#offres .section-title,
#valeurs .section-title,
#contact .section-title,
#newsletter .section-title {
    color: var(--agro-ink) !important;
    font-weight: 800;
}

.home-story-section .lead {
    color: var(--agro-muted) !important;
    font-size: 1.08rem !important;
}

.arc-photo-wrapper {
    border-radius: var(--agro-radius) !important;
    width: min(360px, 100%) !important;
    height: 360px !important;
    animation: none !important;
    box-shadow: var(--agro-shadow-md) !important;
}

.home-page .text-center.my-4 > img.r {
    display: none;
}

#offres,
#valeurs,
#agriculture-responsable-damier,
#galerie-video,
#newsletter,
#contact {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

#offres {
    position: relative;
}

#offres::before {
    content: "";
    position: absolute;
    inset: 0 calc(50% - 50vw);
    background: #fff;
    border-top: 1px solid rgba(36, 31, 35, 0.08);
    border-bottom: 1px solid rgba(36, 31, 35, 0.08);
    z-index: -1;
}

#offres > .lead {
    color: var(--agro-muted);
    font-size: 1.06rem !important;
}

#offres .alert {
    background: var(--agro-surface-soft) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    border-left: 4px solid var(--agro-brand) !important;
    box-shadow: none !important;
}

#offres .row.justify-content-center.g-4 {
    align-items: stretch;
}

#offres .offer-card {
    padding: 0 !important;
    overflow: hidden !important;
}

#offres .offer-card > .d-flex:first-child {
    padding: 1.1rem 1.1rem 0;
}

#offres .offer-photo-frame {
    width: calc(100% - 2.2rem) !important;
    height: 190px !important;
    margin: 1rem 1.1rem 1.2rem !important;
    border-radius: var(--agro-radius) !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #eee8dc !important;
}

#offres .offer-photo-frame img {
    border-radius: var(--agro-radius) !important;
}

#offres .offer-title,
#offres .offer-price,
#offres .offer-desc,
#offres .offer-features,
#offres .offer-card .alert {
    margin-left: 1.1rem !important;
    margin-right: 1.1rem !important;
}

#offres .offer-features li {
    color: var(--agro-muted) !important;
    transform: none !important;
}

#offres .offer-features i {
    color: var(--agro-brand) !important;
}

#offres .offer-card .btn-fuchsia {
    margin: 0 1.1rem 1.1rem;
    width: calc(100% - 2.2rem) !important;
}

.offer-best-price-ribbon {
    border-radius: 0 0 0 var(--agro-radius) !important;
    top: 0 !important;
    right: 0 !important;
}

.activity-card,
#valeurs .card,
.newsletter-box,
.video-material,
#galerie-video .video-thumbnail {
    border-radius: var(--agro-radius) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
    box-shadow: var(--agro-shadow-sm) !important;
    background: var(--agro-surface) !important;
}

.activity-card:hover,
#valeurs .card:hover,
.newsletter-box:hover,
#galerie-video .video-thumbnail:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--agro-shadow-md) !important;
}

.activity-icon,
#valeurs .rounded-circle {
    border-radius: var(--agro-radius) !important;
    background: rgba(230, 0, 126, 0.1) !important;
}

.activity-icon i,
#valeurs .rounded-circle i {
    color: var(--agro-brand) !important;
}

.agri-damier-grid {
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-md) !important;
    gap: 8px !important;
}

.damier-photo {
    border-radius: var(--agro-radius) !important;
}

.damier-photo img {
    transition: transform 220ms ease, filter 220ms ease !important;
}

.damier-photo:hover img {
    transform: scale(1.04) !important;
    filter: saturate(1.05);
}

.agri-damier-text {
    background: var(--agro-surface) !important;
    border: 1px solid rgba(36, 31, 35, 0.1);
    border-radius: var(--agro-radius) !important;
    box-shadow: var(--agro-shadow-sm);
}

.agri-damier-text h3 {
    color: var(--agro-ink) !important;
}

.agri-damier-text p {
    color: var(--agro-muted) !important;
}

.video-material,
#galerie-video .video-thumbnail {
    overflow: hidden;
}

.video-material video,
#galerie-video video {
    border-radius: 0 !important;
}

.catalogue-page .navbar + .container.my-5,
.catalogue-page .hero-section + .container.my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
}

.catalogue-page .section-title {
    display: block !important;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: var(--agro-ink) !important;
    font-size: clamp(1.7rem, 4vw, 3rem) !important;
    line-height: 1.08;
}

.catalogue-page .category-title {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    color: var(--agro-ink) !important;
}

.catalogue-page .row.g-4 {
    row-gap: 1.3rem !important;
}

.catalogue-page .alert-info {
    max-width: 720px;
    margin: 0 auto;
    background: var(--agro-surface) !important;
    border: 1px solid rgba(36, 31, 35, 0.1) !important;
}

.catalogue-page .offer-card .card-body {
    padding: 1.15rem !important;
}

.catalogue-page .offer-card .mt-auto.d-flex {
    gap: 0.9rem;
    align-items: flex-end !important;
}

.catalogue-page .offer-card .btn-fuchsia {
    flex: 0 0 auto;
    white-space: nowrap;
}

.panier-container,
.connexion-container,
.inscription-container,
.compte-container,
.client-container,
.validation-container {
    overflow: hidden;
}

.panier-container {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.panier-item {
    border-left-color: var(--agro-brand) !important;
}

.total-panier .btn-light {
    color: var(--agro-brand) !important;
}

.connexion-header p,
.inscription-header p,
.compte-header p,
.client-header p,
.validation-header p {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .home-quick-nav {
        margin-top: -30px;
    }

    .home-quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        max-width: 680px;
    }

    .arc-photo-wrapper {
        height: 260px !important;
    }
}

@media (max-width: 767.98px) {
    .home-page .hero-section {
        min-height: 610px;
        padding: 4.8rem 0 4.6rem !important;
    }

    .hero-content {
        text-align: center;
    }

    .home-page .logo-agropeyi-hero {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 150px !important;
    }

    .home-page .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-metrics {
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100% !important;
    }

    .home-quick-nav-grid {
        grid-template-columns: 1fr;
    }

    .home-quick-link {
        min-height: 82px;
    }

    #offres,
    #valeurs,
    #agriculture-responsable-damier,
    #galerie-video,
    #newsletter,
    #contact {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    #offres .offer-photo-frame {
        height: 170px !important;
    }

    .catalogue-page .offer-card .mt-auto.d-flex {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .catalogue-page .offer-card .btn-fuchsia {
        width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    .hero-kicker {
        justify-content: center;
        width: 100%;
        font-size: 0.76rem;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-metrics span {
        justify-content: center;
    }

    .home-quick-nav {
        margin-top: -24px;
    }

    .home-quick-link {
        box-shadow: var(--agro-shadow-sm);
    }

    .arc-photo-wrapper {
        height: 210px !important;
    }
}
