/* Masquer tous les éléments hidden, même si display forcé par ailleurs */
[hidden] {
    display: none !important;
}
/* import des polices depuis /fonts */

/* COOPBL.TTF */
@font-face {
    font-family: 'CoopBl';
    src: url('../fonts/COOPBL.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* PhosphateInline Roman.ttf */
@font-face {
    font-family: 'PhosphateInline';
    src: url('../fonts/PhosphateInline Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Tiki Tropic.ttf */
@font-face {
    font-family: 'TikiTropic';
    src: url('../fonts/Tiki Tropic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Tiki Tropic Bold.ttf */
@font-face {
    font-family: 'TikiTropicBold';
    src: url('../fonts/Tiki Tropic Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Tiki Tropic Outline.ttf */
@font-face {
    font-family: 'TikiTropicOutline';
    src: url('../fonts/Tiki Tropic Outline.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


:root {
    --theme: #3FBAA5;
    --theme-01: #aca83d;
    --theme-02: #26a2ba;
    --theme-03: #f4e7b9;
    --theme-04: #62aec5;
    --theme-05: #2e4a27;
    --theme-06: #96cde1;
    --theme-07: #c8c68d;
    --theme-08: #823a28;
    --theme-09: #135364;
    --theme-10: #c3e4ea;
    --theme-11: #5a6767;
    --theme-12: #85b3a9;
    --theme-13: #a8edf6;
    --theme-14: #31ccd4;
    --theme-15: #88949e;
    --or: var(--theme-01);
    --sable-fonce: var(--theme-08);
    --sable-encore-plus-fonce: #5e451c;
    --sand: var(--theme-07);
    --water-a: var(--theme-10);
    --paper: #f2f2f2;
    --ink: #111111;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition-duration: 0.2s;
}

.site-footer {
    position: relative;
    margin-top: clamp(3rem, 8vw, 6rem);
    overflow: hidden;
    /* background: var(--theme-03); */
    color: #14454c;
}

.site-footer-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-footer-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
    aspect-ratio: 1512 / 1136;
    transform: scaleY(-1);
    transform-origin: center;
    opacity: 1;
    filter: none;
}

.site-footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(2.8rem, 6vw, 5rem) 1rem calc(clamp(3rem, 7vw, 5.5rem) + 110px + env(safe-area-inset-bottom, 0px));
    display: grid;
    justify-items: center;
    gap: 1.8rem;
}

@media (max-width: 900px) {
    .site-footer-inner {
        padding-bottom: calc(clamp(2.2rem, 5vw, 3.2rem) + 72px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 560px) and (max-width: 600px) {
    .site-footer-inner {
        padding-bottom: calc(clamp(1.8rem, 4vw, 2.4rem) + 44px + env(safe-area-inset-bottom, 0px));
    }
}

.site-footer-brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.site-footer-logo {
    width: clamp(120px, 18vw, 220px);
    height: clamp(120px, 18vw, 220px);
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 14px 24px rgba(20, 69, 76, 0.18));
}

.site-footer-name {
    font-family: 'PhosphateInline', sans-serif;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.92;
    color: var(--theme-09);
}

.site-footer-tagline {
    margin-top: 0.15rem;
    font-family: 'TikiTropicBold', sans-serif;
    font-size: clamp(16px, 1.8vw, 22px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2f7d86;
}

.site-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-family: 'TikiTropicBold', sans-serif;
    font-size: clamp(16px, 1.8vw, 22px);
}

.site-footer-links--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    justify-content: center;
    text-align: center;
}

.site-footer-links a {
    width: fit-content;
    color: #14454c;
}

.site-footer-links a:hover {
    color: var(--theme);
}

.legal-page main {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.legal-card {
    position: relative;
    z-index: 1;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 28px;
    border: 2px solid rgba(20, 69, 76, 0.16);
    background: rgba(255, 251, 242, 0.92);
    box-shadow: 0 18px 40px rgba(20, 69, 76, 0.12);
}

.legal-card h1,
.legal-card h2 {
    margin-bottom: 0.85rem;
}

.legal-card p,
.legal-card li {
    font-family: 'CoopBl', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.legal-card ul {
    padding-left: 1.2rem;
    display: grid;
    gap: 0.6rem;
}

body {
    font-family: 'CoopBl', sans-serif;
    color: var(--ink);
    background: var(--paper);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}



p, .texte {
    font-size: 18px;
    line-height: 1.5;
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.4rem 1rem 3rem;
}

h1 {
    font-family: 'TikiTropicBold', sans-serif;
    font-size: 64px;
    color: var(--theme);
    line-height: 0.95;
    text-transform: uppercase;
}

h2 {
    font-family: 'PhosphateInline', sans-serif;
    font-size: 56px;
    color: var(--sable-encore-plus-fonce);
    line-height: 1.1;
    text-transform: uppercase;
}

.subtitle {
    color: #2f8f95;
    font-family: 'TikiTropicBold', sans-serif;
    font-size: clamp(18px, 2vw, 32px);
    text-transform: uppercase;
}

.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    border: 2px solid #14454c;
    background: #ef8f5e;
    color: #fff9f2;
    font-family: 'TikiTropicBold', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    letter-spacing: 0.045em;
    text-shadow: 0 1px 0 rgba(53, 27, 12, 0.28);
    box-shadow: 0 1px 0 #ffd7b8 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 6px 0 #14454c, 0 10px 18px rgba(20, 40, 42, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.bouton:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 1px 0 #ffe5d1 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 8px 0 #14454c, 0 14px 24px rgba(20, 40, 42, 0.28);
}

.bouton:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #ffd7b8 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 3px 0 #14454c, 0 6px 12px rgba(20, 40, 42, 0.2);
}

.corail {
    background: #ef8f5e;
    color: #fff9f2;
}

.lagon {
    background: #3aa7b4;
    color: #ffffff;
    text-shadow: none;
    box-shadow: 0 1px 0 #b9eef2 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 6px 0 #14454c, 0 10px 18px rgba(20, 40, 42, 0.26);
}

.theme, a.theme, .nav-links a.theme {
    background: var(--theme);
    color: #ffffff;
    text-shadow: none;
    box-shadow: 0 1px 0 #b9eef2 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 6px 0 #14454c, 0 10px 18px rgba(20, 40, 42, 0.26);
}
.nav-links a.theme:hover {
    background: var(--theme);
    color: #ffffff;
    text-shadow: none;
    filter: brightness(1.03);
    box-shadow: 0 1px 0 #b9eef2 inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 8px 0 #14454c, 0 14px 24px rgba(20, 40, 42, 0.28);
}

.sable {
    background: #d9b65f;
    color: #1e1a0e;
    text-shadow: none;
    box-shadow: 0 1px 0 #f4dfab inset, 0 -2px 0 rgba(0, 0, 0, 0.12) inset, 0 6px 0 #14454c, 0 10px 18px rgba(20, 40, 42, 0.26);
}
