/* Reset et variables CSS */
:root {
    --primary-color: #2d5a27;
    --secondary-color: #4a7c59;
    --accent-color: #8bc34a;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--background-light);
    padding-top: 80px;
    /* Décale le contenu sous l’en-tête fixe */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0 0 1rem;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus {
    text-decoration: underline;
}

.messages {
    max-width: 960px;
    margin: 1rem auto 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 0.95rem;
}

.message-success {
    background: rgba(45, 90, 39, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(45, 90, 39, 0.35);
}

.message-info {
    background: rgba(33, 150, 243, 0.12);
    color: #0b5394;
    border: 1px solid rgba(33, 150, 243, 0.35);
}

.message-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #8a6d3b;
    border: 1px solid rgba(255, 193, 7, 0.35);
}

.message-error {
    background: rgba(220, 53, 69, 0.12);
    color: #c1121f;
    border: 1px solid rgba(220, 53, 69, 0.35);
}

/* Accessibilité */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus styles pour l'accessibilité */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip link pour l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Header et Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.6s ease;
}

.nav {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.recycle-symbol {
    position: relative;
    width: 60px;
    height: 60px;
    animation: rotate 10s linear infinite;
}

.recycle-svg {
    width: 100%;
    height: 100%;
}

.recycle-arrow {
    fill: var(--secondary-color);
    stroke: var(--primary-color);
    stroke-width: 2;
    animation: pulse 2s ease-in-out infinite;
}

.pallet-inside {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 15px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-link-accent {
    color: var(--white);
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.nav-link-accent:hover,
.nav-link-accent:focus {
    background: var(--secondary-color);
    color: var(--white);
}

.nav-logout-form {
    margin: 0;
}

.nav-button {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-light);
    border-radius: var(--border-radius);
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.nav-button:hover,
.nav-button:focus {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Main Content */
.main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.product-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.product-hero .btn-secondary:hover,
.product-hero .btn-secondary:focus {
    background: rgba(255, 255, 255, 0.22);
    color: #0f2f12;
    border-color: #ffffff;
}

.btn-tertiary {
    background: rgba(45, 90, 39, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(45, 90, 39, 0.2);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.btn-tertiary:hover,
.btn-tertiary:focus {
    background: rgba(45, 90, 39, 0.18);
    border-color: rgba(45, 90, 39, 0.35);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.nav-item-has-submenu {
    position: relative;
    display: inline-block;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
    display: block;
    animation: fadeIn 0.2s ease;
}

.nav-submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-submenu-link:hover,
.nav-submenu-link:focus {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Page Produits publique */
.products-main {
    background: radial-gradient(circle at 20% 20%, rgba(75, 124, 89, 0.08) 0, rgba(75, 124, 89, 0) 28%),
        radial-gradient(circle at 80% 0%, rgba(45, 90, 39, 0.1) 0, rgba(45, 90, 39, 0) 30%),
        linear-gradient(180deg, #f4f7f2 0%, #ffffff 38%, #f6f9f3 100%);
    padding-bottom: 4rem;
}

.product-hero {
    position: relative;
    padding: 5rem 0 4rem;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.9), rgba(74, 124, 89, 0.9)),
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12), transparent 45%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1), transparent 38%);
    background-size: auto, auto, auto;
    background-position: center, 10% 20%, 90% 10%;
}

.product-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='120' cy='60' r='2'/%3E%3Ccircle cx='60' cy='120' r='2'/%3E%3Ccircle cx='150' cy='140' r='2'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.product-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 0.9fr);
    gap: 1.75rem;
    align-items: center;
}

.hero-layout {
    display: contents;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 0.85rem;
}

.hero-photo {
    background-image: linear-gradient(180deg, rgba(15, 47, 18, 0.25), rgba(15, 47, 18, 0.6)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 12px, rgba(255, 255, 255, 0) 12px, rgba(255, 255, 255, 0) 24px);
    background-size: 100% 100%, 140% 140%;
    background-position: center;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 40%);
}

.hero-photo--primary {
    grid-column: 1 / 3;
    min-height: 240px;
    background-position: 60% 50%;
}

.hero-photo--secondary {
    min-height: 150px;
    background-position: 35% 50%;
}

.hero-photo--accent {
    min-height: 180px;
    background-position: 70% 45%;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    backdrop-filter: blur(3px);
}

.breadcrumb::before {
    content: none;
}

.product-hero h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-intro {
    max-width: 840px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0;
    margin-top: 0.75rem;
}

.hero-highlights li {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.product-categories {
    padding: 3rem 0 2.5rem;
    background: var(--white);
}

.product-categories h2 {
    color: var(--primary-color);
    text-align: left;
    font-size: 2rem;
    margin-bottom: 0.85rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.category-card {
    position: relative;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    background: linear-gradient(180deg, #f7fbf5, #eef5ea);
    isolation: isolate;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 29, 10, 0.2), rgba(8, 29, 10, 0.65));
    z-index: 1;
}

.category-visual {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(15, 47, 18, 0.7), rgba(21, 69, 31, 0.6)),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 16px, transparent 16px, transparent 32px);
    background-size: 100% 100%, 180% 180%;
    background-position: center;
    transform: scale(1.02);
}

.category-card--2 .category-visual {
    background-position: 75% 45%;
}

.category-card--3 .category-visual {
    background-position: 40% 55%;
}

.category-body {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #f2f6f1;
}

.category-body h3 {
    margin: 0;
    font-size: 1.25rem;
}

.category-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 700;
    width: fit-content;
}

.product-listing {
    padding: 3.5rem 0;
}

.product-listing .container,
.product-categories .container,
.product-faq .container {
    max-width: 1240px;
}

.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.listing-header h2 {
    margin-bottom: 0.35rem;
    color: var(--primary-color);
}

.listing-subtitle {
    max-width: 720px;
    color: var(--text-light);
}

.listing-meta .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    background: rgba(45, 90, 39, 0.08);
    border: 1px solid rgba(45, 90, 39, 0.25);
    color: var(--primary-color);
    border-radius: 999px;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(127, 140, 141, 0.15);
    display: grid;
    gap: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.06), rgba(74, 124, 89, 0.04));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover,
.product-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-card:hover::before,
.product-card:focus-within::before {
    opacity: 1;
}

.product-card header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 1;
}

.product-copy {
    display: grid;
    gap: 0.65rem;
}

.product-code {
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
}

.product-description {
    color: var(--text-dark);
    z-index: 1;
    line-height: 1.55;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
}

.product-tags li {
    background: rgba(45, 90, 39, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(45, 90, 39, 0.22);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2d6a4f;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    background: rgba(76, 175, 80, 0.12);
    border-radius: var(--border-radius);
    border: 1px solid rgba(76, 175, 80, 0.28);
    z-index: 1;
}

.availability::before {
    content: "\\25CF";
    font-size: 0.9rem;
}

.availability-warning {
    color: #8a6d3b;
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-photo--primary {
        min-height: 280px;
    }

}

@media (max-width: 960px) {
    .product-hero .container {
        grid-template-columns: 1fr;
    }

    .hero-gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

.product-faq {
    padding: 3.5rem 0;
    background: var(--white);
}

.product-pagination {
    margin: 2rem 0 1rem;
    padding: 1.25rem 1.5rem;
    background: #f7fbf5;
    border: 1px solid rgba(45, 90, 39, 0.15);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    display: grid;
    gap: 0.75rem;
}

.product-pagination__summary {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.product-pagination__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.product-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-pagination__page,
.product-pagination__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    border: 1px solid rgba(45, 90, 39, 0.2);
    color: var(--primary-color);
    background: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    min-width: 44px;
}

.product-pagination__page:hover,
.product-pagination__page:focus,
.product-pagination__nav:hover,
.product-pagination__nav:focus {
    background: rgba(45, 90, 39, 0.08);
    box-shadow: var(--shadow-light);
}

.product-pagination__page.is-active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.product-pagination__nav.is-disabled {
    color: rgba(44, 62, 80, 0.45);
    border-color: rgba(127, 140, 141, 0.3);
    background: rgba(127, 140, 141, 0.08);
    box-shadow: none;
    cursor: not-allowed;
}

.product-faq h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.faq-grid article {
    background: linear-gradient(180deg, #ffffff, #f7fbf5);
    border: 1px solid rgba(127, 140, 141, 0.15);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-light);
}

.faq-grid h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-cta {
    padding: 3rem 0 4rem;
    background: linear-gradient(120deg, rgba(45, 90, 39, 0.08), rgba(74, 124, 89, 0.04));
}

.product-cta .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 900px;
}

.product-cta p {
    color: var(--text-light);
}

.product-cta h2 {
    color: var(--primary-color);
    font-size: 2rem;
    line-height: 1.3;
}

.cta-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    font-weight: 700;
}

.empty-state {
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius);
    background: #fff7e6;
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #8a6d3b;
    box-shadow: var(--shadow-light);
}

/* Formulaires d'authentification */
.auth-main {
    background: var(--background-light);
    padding: 6rem 0 4rem;
}

.auth-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.auth-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.auth-card {
    flex: 1 1 420px;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.auth-subtitle {
    color: var(--text-light);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1 1 200px;
}

.form-group-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.35rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #dfe3e8;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.15);
}

.form-errors,
.field-error {
    background: rgba(220, 53, 69, 0.1);
    color: #c1121f;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}

.form-help {
    font-size: 0.9rem;
    color: var(--text-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Formulaire de commandes */
.order-main {
    background: var(--background-light);
    margin-top: 0;
    padding: 2rem 0 3.5rem !important;
}

.order-main .hero-header-group {
    align-items: flex-start;
    text-align: left;
}

.order-container .breadcrumb-nav {
    margin-bottom: 0 !important;
}

.order-section .container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem !important;
}

.order-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.back-link:hover,
.back-link:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.order-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.order-header p {
    color: var(--text-light);
    max-width: 720px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.order-fieldset {
    border: none;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.order-fieldset+.order-fieldset {
    margin-top: 0.5rem;
}

.order-fieldset legend {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-row.two-columns {
    gap: 1.5rem;
}

.form-row.two-columns .form-group {
    flex: 1 1 320px;
}

.order-lines-inline {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-lines-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.order-lines-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(45, 90, 39, 0.12);
    border-radius: var(--border-radius);
    background: var(--white);
}

.order-lines-table th,
.order-lines-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(45, 90, 39, 0.08);
    text-align: left;
    vertical-align: top;
}

.order-lines-table thead th {
    background: rgba(45, 90, 39, 0.07);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    text-transform: uppercase;
}

.order-lines-table tbody tr:last-child td {
    border-bottom: none;
}

.order-lines-table .form-input,
.order-lines-table textarea {
    width: 100%;
}

.order-line-product-cell {
    min-width: 240px;
}

.product-picker {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-picker-selection {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.product-picker-selection:not(.is-empty) {
    color: var(--text-dark);
    font-weight: 600;
}

.product-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.product-picker-enabled [data-product-field] select[data-product-select] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.order-line-index {
    width: 80px;
    font-weight: 600;
    color: var(--primary-color);
}

.order-line-index-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.order-line-quantity-cell {
    width: 160px;
}

.order-line-notes-cell textarea {
    min-height: 72px;
}

.order-line-actions {
    width: 120px;
    text-align: right;
    vertical-align: middle;
}

.order-line-remove {
    background: transparent;
    border: none;
    color: #c1121f;
    font-weight: 600;
    cursor: pointer;
    padding: 0.15rem 0.25rem;
    transition: var(--transition);
}

.order-line-remove:hover,
.order-line-remove:focus {
    color: #8b0d18;
    text-decoration: underline;
}

.order-line-row--hidden {
    display: none;
}

.order-lines-actions {
    display: flex;
    justify-content: flex-start;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0;
}

.btn-link.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {

    .order-lines-table th,
    .order-lines-table td {
        padding: 0.75rem;
    }

    .order-line-actions {
        width: auto;
    }

    .order-line-quantity-cell {
        width: auto;
    }

    .order-card {
        padding: 1.25rem;
    }
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.form-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-dark);
}

.form-actions .btn-secondary:hover,
.form-actions .btn-secondary:focus {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.catalog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 22, 12, 0.55);
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2200;
}

.catalog-overlay.is-visible {
    display: flex;
}

body.catalog-open {
    overflow: hidden;
}

.catalog-panel {
    width: min(520px, 100%);
    max-height: 100%;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-hover);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: catalogSlideIn 0.25s ease-out;
    overflow-y: auto;
}

@keyframes catalogSlideIn {
    from {
        transform: translateX(32px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.catalog-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.catalog-panel-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.catalog-panel-intro {
    color: var(--text-light);
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
}

.catalog-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem;
}

.catalog-controls {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .catalog-controls {
        grid-template-columns: 2fr 1fr;
    }
}

.catalog-search label,
.catalog-filter label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: block;
}

.catalog-search-input input,
.catalog-filter select {
    width: 100%;
    border: 1px solid rgba(45, 90, 39, 0.25);
    border-radius: var(--border-radius);
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
}

.catalog-reset {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.35rem 0;
}

.catalog-status {
    font-size: 0.9rem;
    color: var(--text-light);
}

.catalog-status.is-error {
    color: #c1121f;
}

.catalog-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.catalog-card {
    border: 1px solid rgba(45, 90, 39, 0.15);
    border-radius: var(--border-radius);
    padding: 1rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-light);
}

.catalog-card-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.catalog-card-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.catalog-card-header p {
    margin: 0.1rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.catalog-card-unit {
    font-size: 0.85rem;
    color: var(--text-light);
}

.catalog-card-summary {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.catalog-card-actions {
    display: flex;
    justify-content: flex-end;
}

.catalog-empty {
    padding: 1rem;
    background: rgba(45, 90, 39, 0.07);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.catalog-pagination {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.catalog-pagination-info {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.catalog-pagination-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.catalog-overlay.is-loading .catalog-results {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 768px) {
    .catalog-overlay {
        padding: 0;
    }

    .catalog-panel {
        width: 100%;
        border-radius: 0;
        min-height: 100%;
    }
}

@media (max-width: 640px) {
    .order-fieldset {
        padding: 1.5rem;
    }

    .order-lines-grid {
        grid-template-columns: 1fr;
    }
}

.field-error.is-hidden {
    display: none;
}

.phone-field-group .iti {
    width: 100%;
}

/* Espacement spécifique au formulaire de profil client */
.profile-card form .btn {
    margin-top: 1.5rem;
}

.profile-card+.profile-card {
    margin-top: 2.5rem;
}

.profile-main {
    background: var(--background-light);
    padding: 2rem 0 3.5rem !important;
}

.profile-main .hero-header-group {
    align-items: flex-start;
    text-align: left;
}

.profile-container .breadcrumb-nav {
    margin-bottom: 0 !important;
}

.profile-section .container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem !important;
}

.profile-hero,
.dashboard-hero {
    background: linear-gradient(120deg, var(--primary-color), #3f7c3c);
    color: var(--white);
    border-radius: 18px;
    padding: 2.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    box-shadow: var(--shadow);
}

.profile-hero-info,
.dashboard-hero-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
}

.profile-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.profile-hero-eyebrow {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.profile-hero-summary {
    margin: 0.35rem 0 0.15rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.profile-hero-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.profile-hero-status,
.dashboard-hero-status {
    justify-self: end;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    min-width: 260px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-pill-success {
    background: rgba(76, 175, 80, 0.18);
    color: #1b5e20;
}

.profile-pill-neutral {
    background: rgba(255, 255, 255, 0.2);
    color: #f0f4f2;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.profile-pill-muted {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.profile-pill-accent {
    background: rgba(139, 195, 74, 0.2);
    color: #4c7d1f;
}

.dashboard-hero .btn-primary,
.dashboard-hero .btn-secondary {
    background: var(--white);
    color: #1f3e1c;
    border-color: var(--white);
    box-shadow: var(--shadow);
}

.dashboard-hero .btn-secondary {
    border-width: 1px;
}

.dashboard-hero .btn-primary:hover,
.dashboard-hero .btn-primary:focus,
.dashboard-hero .btn-secondary:hover,
.dashboard-hero .btn-secondary:focus {
    background: #f5f8f4;
    color: #1f3e1c;
    border-color: #f5f8f4;
    box-shadow: var(--shadow-hover);
}

.dashboard-hero .profile-hero-info {
    align-items: center;
}

.dashboard-hero .profile-hero-info>div {
    text-align: left;
    width: 100%;
}

.dashboard-hero .hero-header-group {
    justify-content: flex-start;
}

.dashboard-hero .profile-hero-summary,
.dashboard-hero .profile-hero-description {
    text-align: left;
}

.dashboard-hero .dashboard-cta {
    justify-content: flex-start;
}

.dashboard-hero .profile-hero-status p,
.dashboard-hero .profile-hero-status .profile-hero-description {
    color: rgba(255, 255, 255, 0.92);
}

.dashboard-hero .profile-pill-success,
.dashboard-hero .profile-pill-neutral,
.dashboard-hero .profile-pill-muted {
    background: rgba(255, 255, 255, 0.2);
    color: #f8fff5;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dashboard-hero .profile-pill-neutral {
    color: #f9fffa;
}

.dashboard-hero .profile-pill-muted {
    color: #ecf2ed;
}

.profile-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
}

.profile-highlight {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.profile-highlight-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.profile-highlight-value {
    margin: 0.25rem 0 0.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.9fr);
    gap: 1.75rem;
    margin-top: 2rem;
    align-items: start;
}

.profile-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 0.2rem;
}

.profile-card h2 {
    margin: 0;
    font-size: 1.6rem;
}

.profile-card p {
    margin: 0.15rem 0 0;
    color: var(--text-light);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-segment {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid #eef1f4;
    border-radius: 12px;
    background: #fbfcfd;
}

.form-segment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.form-segment-title {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
}

.form-segment-description {
    margin: 0.2rem 0 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-note {
    margin: 0;
    color: var(--text-light);
}

.profile-column-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-sidecard {
    background: var(--white);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.profile-sidecard--accent {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.95), rgba(74, 124, 89, 0.95));
    color: var(--white);
}

.profile-sidecard--accent .btn-tertiary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.profile-sidecard--accent .btn-tertiary:hover,
.profile-sidecard--accent .btn-tertiary:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    color: var(--white);
}

.profile-meta-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.profile-meta-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0.6rem;
    align-items: baseline;
    font-size: 0.95rem;
}

.profile-meta-row dt {
    color: var(--text-light);
}

.profile-meta-row dd {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.profile-support-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.3rem;
}

.profile-support-list a {
    color: inherit;
    font-weight: 600;
}

.profile-sidecard-note {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {

    .profile-hero,
    .dashboard-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .profile-hero-status,
    .dashboard-hero-status {
        justify-self: start;
        width: 100%;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .profile-main {
        padding: 0.625rem 0 3.5rem;
    }

    .profile-hero,
    .dashboard-hero {
        padding: 1.75rem;
    }

    .profile-hero-info,
    .dashboard-hero-info {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .profile-card {
        padding: 1.25rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-meta-row {
        grid-template-columns: 1fr;
    }
}

.auth-submit {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-footer .btn {
    width: fit-content;
}

.field-help {
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-aside {
    flex: 1 1 260px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-aside ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0;
}

.auth-aside ul li::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.aside-note {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Tableau de bord client */
.dashboard-main {
    background: var(--background-light);
    padding: 2rem 0 3rem;
}

.dashboard-section .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-container .breadcrumb-nav {
    margin-bottom: 0;
}

.dashboard-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.dashboard-intro {
    color: var(--text-light);
    max-width: 680px;
}

.dashboard-panels {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-panel {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard-panel:hover,
.dashboard-panel:focus-within {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.dashboard-heading {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.dashboard-subtitle,
.dashboard-intro {
    color: var(--text-light);
}

.dashboard-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.dashboard-metrics {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
}

.summary-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 0.75rem;
    text-align: center;
    align-items: center;
}

.summary-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-direction: column;
}

.summary-label {
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.summary-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.summary-currency {
    font-size: 1rem;
    color: var(--text-light);
}

.summary-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-stats {
    display: flex;
    gap: 1.5rem;
    margin: 0.5rem 0 1rem;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-count {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.summary-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-self: end;
    justify-content: center;
}

.summary-card .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}


.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.status-info {
    background: rgba(45, 90, 39, 0.08);
    color: var(--primary-color);
    border-color: rgba(45, 90, 39, 0.25);
}

.status-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #8a6d3b;
    border-color: rgba(255, 193, 7, 0.4);
}

.status-success {
    background: rgba(76, 175, 80, 0.15);
    color: #2d6a4f;
    border-color: rgba(76, 175, 80, 0.4);
}

.status-muted {
    background: rgba(127, 140, 141, 0.12);
    color: #6c757d;
    border-color: rgba(127, 140, 141, 0.35);
}

.dashboard-activity {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    border: 1px solid rgba(127, 140, 141, 0.15);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
}

.activity-item:hover,
.activity-item:focus-within {
    box-shadow: var(--shadow-light);
    transform: translateY(-2px);
}

.activity-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.activity-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.activity-subtitle {
    color: var(--text-light);
}

.activity-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.activity-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.activity-link:hover,
.activity-link:focus {
    text-decoration: underline;
}

.activity-item .icon {
    width: 1.5rem;
    height: 1.5rem;
}


.dashboard-help {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.help-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease both;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Address styling */
address {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem;
    border-radius: var(--border-radius);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.contact-message h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-message p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.contact-cta .btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Icons */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: -0.25em;
}

.btn .icon {
    margin-right: 0.5rem;
}

.icon-xl {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}

.summary-card .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color);
}

.activity-item .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hero-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.hero-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
}

.services-main {
    background: radial-gradient(circle at 20% 20%, rgba(45, 90, 39, 0.06) 0, rgba(45, 90, 39, 0) 30%),
        radial-gradient(circle at 80% 0%, rgba(74, 124, 89, 0.08) 0, rgba(74, 124, 89, 0) 30%),
        linear-gradient(180deg, #f6f9f4 0%, #ffffff 40%, #f4f7f2 100%);
    color: var(--text-dark);
}

.services-hero {
    position: relative;
    padding: 5rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(140deg, rgba(21, 68, 31, 0.92), rgba(74, 124, 89, 0.92)),
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08), transparent 38%);
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='140' cy='80' r='2'/%3E%3Ccircle cx='70' cy='150' r='2'/%3E%3Ccircle cx='180' cy='170' r='2'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.services-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) minmax(240px, 0.85fr);
    gap: 1.5rem;
    align-items: center;
}

.services-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.services-hero__copy h1 {
    font-size: 2.65rem;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: fit-content;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.services-hero__badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(4px);
}

.badge-inner {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.25rem;
    display: grid;
    gap: 0.35rem;
    align-items: center;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-caption {
    margin: 0.65rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.services-offers {
    padding: 3.5rem 0 3rem;
    background: var(--white);
}

.services-offers h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-lead {
    max-width: 860px;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.services-offers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.offer-card {
    background: linear-gradient(180deg, #f8fbf6, #f2f6f1);
    border-radius: 14px;
    padding: 1.4rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(45, 90, 39, 0.08);
    display: grid;
    gap: 0.6rem;
    transition: var(--transition);
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.offer-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(45, 90, 39, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.offer-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.services-proof {
    padding: 3.25rem 0;
    background: radial-gradient(circle at 18% 20%, rgba(45, 90, 39, 0.08) 0, rgba(45, 90, 39, 0) 30%),
        radial-gradient(circle at 82% 5%, rgba(74, 124, 89, 0.1) 0, rgba(74, 124, 89, 0) 28%),
        #f6f9f4;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: center;
}

.proof-list {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-dark);
    display: grid;
    gap: 0.4rem;
}

.proof-stats {
    display: grid;
    gap: 0.75rem;
}

.proof-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(45, 90, 39, 0.08);
}

.proof-number {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.proof-label {
    margin: 0.25rem 0 0;
    color: var(--text-dark);
}

.services-process {
    padding: 3.25rem 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.process-step {
    background: #f7fbf5;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(45, 90, 39, 0.08);
    box-shadow: var(--shadow-light);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.services-cta {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.94), rgba(74, 124, 89, 0.94));
    color: var(--white);
    padding: 2.75rem 0;
}

.services-cta__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: center;
}

.cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}



/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .product-hero {
        padding: 4rem 0 3rem;
    }

    .product-hero .container {
        gap: 1rem;
    }

    .listing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .services-hero__grid,
    .proof-grid,
    .services-cta__content {
        grid-template-columns: 1fr;
    }

    .services-hero__badge {
        justify-self: start;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-cta {
        padding: 2rem;
    }

    .contact-message h3 {
        font-size: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .auth-card,
    .auth-aside {
        flex: 1 1 auto;
    }

    .auth-main,
    .dashboard-main {
        padding-top: 7rem;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta,
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .breadcrumb {
        width: fit-content;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .services-hero {
        padding: 4rem 0 3rem;
    }

    .services-hero__copy h1 {
        font-size: 2.1rem;
    }

    .services-offers {
        padding: 3rem 0 2.5rem;
    }

    .services-cta__content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .services,
    .contact {
        padding: 3rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }

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

    .process-step {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}



/* Print styles */
@media print {

    .header,
    .cta-buttons {
        display: none;
    }

    .hero {
        background: white !important;
        color: black !important;
    }

    .main {
        margin-top: 0;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
