/*
Theme Name: themeDefault
Author: Alexis HERAIL
Support: alexis.herail@sowedoit.com
Version: 2.0
Description: Site d'information et de redirection Cannabreizh.
*/

:root {
    --color-ink: #073b49;
    --color-ink-dark: #052d38;
    --color-gold: #c99f54;
    --color-gold-light: #f5ead6;
    --color-cream: #fbf8f1;
    --color-white: #ffffff;
    --color-muted: #597078;
    --shadow: 0 24px 70px rgba(7, 59, 73, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--color-ink);
    background: var(--color-cream);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(7, 59, 73, 0.1);
    background: rgba(255, 255, 255, 0.94);
}

.site-header__inner,
.site-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-logo { display: block; width: 230px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid var(--color-ink);
    border-radius: 999px;
    padding: 15px 25px;
    color: var(--color-white);
    background: var(--color-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    border-color: var(--color-gold);
    background: var(--color-gold);
    transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 4px;
}

.button span { font-size: 1.35em; line-height: 0; }
.button--small { padding: 12px 21px; font-size: 0.92rem; }
.site-main { position: relative; overflow: hidden; }

.site-footer {
    padding: 26px 0;
    color: rgba(255, 255, 255, 0.84);
    background: var(--color-ink-dark);
    font-size: 0.9rem;
}

.site-footer__inner,
.site-footer nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer p { margin: 0; }
.site-footer a { color: var(--color-white); text-underline-offset: 4px; }

@media (max-width: 680px) {
    .site-header__inner { min-height: 92px; }
    .site-logo { width: 175px; }
    .site-header .button { display: none; }

    .site-footer__inner,
    .site-footer nav {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__inner { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
