/* -------------------------------------------------
   BASE / RESET MODERNE
   - box-sizing border-box partout
   - reset marges
   - images et medias fluides
   - typo lisible
-------------------------------------------------- */

/* 1) Box sizing global */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2) Reset marges/paddings par défaut */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
}

/* 3) Base document */
html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100dvh;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #222;
    background: #fff;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* 4) Listes sans puces par défaut */
ul,
ol {
    list-style: none;
}

/* 5) Liens propres */
a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    text-decoration: underline;
}

/* 6) Médias responsives */
img,
svg,
video,
canvas,
audio,
iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 7) Formulaires héritent la typo */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* 8) Boutons neutres */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* 9) Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/* 10) Accessibilité focus */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* 11) Petites helpers optionnels */
.container {
    width: min(1200px, 100% - 2rem);
    margin-inline: auto;
}

.hidden {
    display: none !important;
}

.container {
    width: 1300px;
    margin: 2rem auto 0 auto;
    text-align: center;

    @media screen and (max-width: 786px) {
        width: 100%;
        padding: 0 15px;
    }

    .logo {
        margin: 2rem 0;
        display: flex;
        width: 100%;
        justify-content: center;

        img {
            text-align: center;
        }
    }

    .photos {
        display: flex;
        gap: 2rem;
        justify-content: center;
        margin: 4rem 0 2rem 0;

        @media screen and (max-width: 786px) {
            flex-direction: column;
        }

        img {
            width: 20%;

            @media screen and (max-width: 786px) {
                width: 100%;
            }
        }
    }

    .text {
        margin-bottom: 4rem;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 4rem;

        a {
            transition: transform 0.25s;

            &:hover {
                transform: scale(115%);
            }

            img {
                width: 48px;
                height: auto;
            }
        }
    }
}