/* Extra colour sets, chosen in the admin page: Paramètres, Style du site. */

/* Atlas: terracotta and saffron, the colours of the mountain villages */
html[data-theme="atlas"] {
  --green-950: #35140a; --green-900: #552210; --green-800: #743017; --green-700: #93401d; --green-500: #c0652f; --green-100: #f8e8da;
  --gold: #efb441; --gold-dark: #d99a22; --gold-soft: #fbf0db; --sand: #f6ecdd; --bg: #fdf9f2; --ink: #2c1a11; --muted: #6a5244; --line: #eedccb;
  --shadow: 0 8px 26px rgba(85, 34, 16, .13);
}
html[data-theme="atlas"] .hero::before { background: linear-gradient(to right, rgba(53, 20, 10, .92) 0%, rgba(53, 20, 10, .78) 38%, rgba(53, 20, 10, .1) 68%, rgba(53, 20, 10, .22) 100%); }
html[data-theme="atlas"][dir="rtl"] .hero::before { background: linear-gradient(to left, rgba(53, 20, 10, .92) 0%, rgba(53, 20, 10, .78) 38%, rgba(53, 20, 10, .1) 68%, rgba(53, 20, 10, .22) 100%); }
html[data-theme="atlas"] .brand img { filter: hue-rotate(-135deg) saturate(1.3); }
html[data-theme="atlas"] .skyline { filter: hue-rotate(-12deg); }

/* Ocean: navy and gold, from the blue in the association's report */
html[data-theme="ocean"] {
  --green-950: #061f3c; --green-900: #0a3159; --green-800: #0f467c; --green-700: #145c9e; --green-500: #2f84c9; --green-100: #e2eefa;
  --gold: #f7bb1e; --gold-dark: #e0a30c; --gold-soft: #fdf4da; --sand: #eef3f8; --bg: #fafcfe; --ink: #14243a; --muted: #4f6072; --line: #dbe5ef;
  --shadow: 0 8px 26px rgba(10, 49, 89, .13);
}
html[data-theme="ocean"] .hero::before { background: linear-gradient(to right, rgba(6, 31, 60, .92) 0%, rgba(6, 31, 60, .78) 38%, rgba(6, 31, 60, .1) 68%, rgba(6, 31, 60, .22) 100%); }
html[data-theme="ocean"][dir="rtl"] .hero::before { background: linear-gradient(to left, rgba(6, 31, 60, .92) 0%, rgba(6, 31, 60, .78) 38%, rgba(6, 31, 60, .1) 68%, rgba(6, 31, 60, .22) 100%); }
html[data-theme="ocean"] .brand img { filter: hue-rotate(65deg) saturate(1.3); }

/* Lagoon: deep teal and warm coral */
html[data-theme="lagoon"] {
  --green-950: #062d31; --green-900: #09444a; --green-800: #0c5a62; --green-700: #10717a; --green-500: #25999f; --green-100: #dff2f2;
  --gold: #ff9166; --gold-dark: #f27546; --gold-soft: #ffefe7; --sand: #eef6f5; --bg: #fafdfc; --ink: #12282a; --muted: #4c6163; --line: #d7e6e5;
  --shadow: 0 8px 26px rgba(9, 68, 74, .13);
}
html[data-theme="lagoon"] .hero::before { background: linear-gradient(to right, rgba(6, 45, 49, .92) 0%, rgba(6, 45, 49, .78) 38%, rgba(6, 45, 49, .1) 68%, rgba(6, 45, 49, .22) 100%); }
html[data-theme="lagoon"][dir="rtl"] .hero::before { background: linear-gradient(to left, rgba(6, 45, 49, .92) 0%, rgba(6, 45, 49, .78) 38%, rgba(6, 45, 49, .1) 68%, rgba(6, 45, 49, .22) 100%); }
html[data-theme="lagoon"] .brand img { filter: hue-rotate(38deg); }
html[data-theme="lagoon"] .skyline { filter: hue-rotate(-28deg) saturate(1.1); }

html[data-theme="atlas"] .btn-gold, html[data-theme="ocean"] .btn-gold, html[data-theme="lagoon"] .btn-gold { box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }

@media (max-width: 900px) {
  html[data-theme="atlas"] .hero::before, html[data-theme="atlas"][dir="rtl"] .hero::before { background: linear-gradient(to bottom, rgba(53, 20, 10, .84), rgba(53, 20, 10, .55)); }
  html[data-theme="ocean"] .hero::before, html[data-theme="ocean"][dir="rtl"] .hero::before { background: linear-gradient(to bottom, rgba(6, 31, 60, .84), rgba(6, 31, 60, .55)); }
  html[data-theme="lagoon"] .hero::before, html[data-theme="lagoon"][dir="rtl"] .hero::before { background: linear-gradient(to bottom, rgba(6, 45, 49, .84), rgba(6, 45, 49, .55)); }
}
