/* =================================================================
   BASE — Reset & fondations typographiques
   Source : Maquette approuvée Simplement Vous
   ================================================================= */

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

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

body {
    background-color: var(--c-bg);
    color: var(--c-text-main);
    font-family: var(--f-body);
    font-weight: var(--fw-light);
    line-height: var(--lh-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    font-weight: var(--fw-regular);
    line-height: var(--lh-heading);
    color: var(--c-black);
}

p {
    color: var(--c-text-muted);
    font-weight: var(--fw-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--t-fast) ease;
}

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

ul {
    list-style: none;
}

/* ----- Utilities ----- */

.container {
    width: var(--s-container-width);
    max-width: var(--s-container);
    margin-inline: auto;
}

.section-padding {
    padding-block: var(--s-section);
}

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

.uppercase-track {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: var(--fs-micro);
    font-weight: var(--fw-semibold);
    color: var(--c-primary);
    margin-bottom: 0.5rem;
}

.display-text {
    font-size: var(--fs-display);
    font-weight: var(--fw-regular);
    line-height: 1.05;
}

.serif-italic {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: var(--fw-light);
}

/* ----- Buttons ----- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: var(--r-full);
    font-family: var(--f-body);
    font-weight: var(--fw-medium);
    font-size: var(--fs-btn);
    letter-spacing: 0.02em;
    transition: all var(--t-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    z-index: var(--z-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--c-black);
    color: var(--c-white);
    border: 1px solid var(--c-black);
}

.btn-primary:hover {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-outline {
    border: 1px solid var(--c-text-main);
    color: var(--c-text-main);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--c-black);
    color: var(--c-white);
    border-color: var(--c-black);
}

/* ----- Screen reader only ----- */

.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;
}
