/* ===================================================
   SYNAPSID.FR - CSS GLOBAL v5.1
   Graines de cannabis / semences botaniques
   =================================================== */

/* RESET & BASE ANTI-OVERFLOW */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a3a2a;
    background-color: #f7faf8;
    line-height: 1.65;
    overflow-x: hidden;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

table {
    max-width: 100%;
    border-collapse: collapse;
}

.table-responsive,
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* TYPOGRAPHIE */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 0.6em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #2d7a4f;
    transition: color 0.2s;
}

a:hover {
    color: #1a3a2a;
}

a:focus-visible {
    outline: 2px solid #4caf7d;
    outline-offset: 3px;
    border-radius: 3px;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* UTILITAIRES */
.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;
}

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

/* COULEURS SYSTÈME */
:root {
    --color-dark: #1a3a2a;
    --color-primary: #4caf7d;
    --color-light: #a8d5a2;
    --color-bg: #f7faf8;
    --color-bg-alt: #edf5ef;
    --color-text: #1a3a2a;
    --color-text-muted: #4a7a5a;
    --color-border: #c8e0c8;
    --color-white: #ffffff;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(26,58,42,0.08);
    --shadow-md: 0 6px 24px rgba(26,58,42,0.12);
    --shadow-lg: 0 16px 48px rgba(26,58,42,0.16);
}

/* SECTION HEADER PATTERN */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    background-color: #edf5ef;
    color: #2d7a4f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid #c8e0c8;
}

.section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: #1a3a2a;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: #4a7a5a;
    line-height: 1.65;
    margin-bottom: 0;
}

/* BOUTONS GLOBAUX */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #4caf7d;
    color: #1a3a2a;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #3d9a6a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76,175,125,0.3);
    outline: none;
}

.btn-primary:focus-visible {
    outline: 2px solid #4caf7d;
    outline-offset: 3px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #4caf7d;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid #4caf7d;
    transition: background-color 0.2s, color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #4caf7d;
    color: #1a3a2a;
    outline: none;
}

/* VIABILITY BADGES */
.viability {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.viability--high {
    background-color: #dcf5e6;
    color: #1a6a3a;
}

.viability--medium {
    background-color: #fff3cd;
    color: #7a5a00;
}

.viability--low {
    background-color: #fde8e8;
    color: #7a2020;
}

/* RESPONSIVE MOBILE GLOBAL */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    body {
        overflow-x: hidden;
    }

    .grid, [class*='grid'] {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 22px;
    }

    .container {
        padding: 0 14px;
    }
}