/* Page de maintenance « Une touche de Sud » – statique, sans JavaScript */

@font-face {
  font-family: "Tienne";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Tienne-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Tienne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/Tienne-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/NunitoSans-var-latin.woff2") format("woff2");
}

/* Couleurs de la marque : rose du logo, ocre du thème (contrastes AA vérifiés) */
:root {
  color-scheme: light;
  --bg: #FAF5F2;
  --surface: #FFFFFF;
  --text: #2B2620;
  --muted: #5C534A;
  --border: #EDE4DC;
  --pink: #E8186E;        /* décor uniquement */
  --pink-text: #C4105A;   /* liens et texte : 5,4:1 */
  --ochre: #9F824A;       /* décor uniquement */
  --ochre-text: #7A5A22;  /* texte : 5,9:1 */
  --on-accent: #FFFFFF;
  --shadow: 0 1px 2px rgba(43, 38, 32, .06), 0 8px 24px rgba(43, 38, 32, .06);
  --radius: 18px;
  --font-title: "Tienne", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1C1915;
    --surface: #26221D;
    --text: #F2ECE4;
    --muted: #B8ADA0;
    --border: #3A332B;
    --pink: #FF5C9A;
    --pink-text: #FF7AAC;
    --ochre: #D4B77A;
    --ochre-text: #D4B77A;
    --on-accent: #1C1915;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, color-mix(in srgb, var(--ochre) 14%, transparent), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.page {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3rem);
}

/* En-tête */
.hero { text-align: center; }

.logo {
  width: clamp(8.5rem, 26vw, 11rem);
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #FFFFFF;            /* le logo est un JPG sur fond blanc : médaillon clair dans les deux modes */
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;               /* les coins du JPG carré ne débordent pas du cercle */
}
.logo img {
  width: 70%;
  height: auto;
  display: block;
}

.eyebrow {
  margin: 0 0 .75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ochre-text);
}

h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.flourish {
  display: block;
  width: 4.5rem;
  height: 4px;
  margin: 1.25rem auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--ochre));
}

.lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  color: var(--muted);
  text-wrap: pretty;
}

/* Cartes */
.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .cards { grid-template-columns: 1.15fr 1fr; gap: 1.25rem; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

ul { list-style: none; margin: 0; padding: 0; }

.actions { display: grid; gap: .625rem; }

.action {
  display: flex;
  align-items: center;
  gap: .875rem;
  min-height: 3.5rem;
  padding: .625rem .875rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.action:hover {
  border-color: var(--pink-text);
  background: color-mix(in srgb, var(--pink) 6%, transparent);
}
.action svg {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: .5625rem;
  border-radius: 50%;
  background: var(--pink-text);
  stroke: var(--on-accent);
}
.action-label {
  display: block;
  font-size: .8125rem;
  color: var(--muted);
}
.action-value {
  display: block;
  font-weight: 700;
  font-size: 1.0625rem;
  overflow-wrap: break-word;      /* l'e-mail se coupe après « @ » (<wbr>), jamais au milieu d'un mot */
}
@media (max-width: 400px) {
  .action-value { font-size: 1rem; }
}

.note {
  margin: 1rem 0 0;
  font-size: .9375rem;
  color: var(--muted);
}

.address {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.address svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: .125rem;
  stroke: var(--ochre-text);
}
address { font-style: normal; }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .5rem;
  font-weight: 700;
  color: var(--pink-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.link:hover { text-decoration-color: var(--ochre); }

/* Réseaux sociaux (dans la carte boutique) */
.social {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
h3 {
  margin: 0 0 .75rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.0625rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .5rem 1.25rem;
  border: 1.5px solid var(--pink-text);
  border-radius: 999px;
  color: var(--pink-text);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.pill:hover {
  background: var(--pink-text);
  color: var(--on-accent);
}
.pill svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

/* Icônes (style Lucide : trait) */
svg {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Pied de page */
.footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .875rem;
  color: var(--muted);
}
.footer p { margin: .25rem 0; }
.tagline { color: var(--ochre-text); font-weight: 600; }

/* Accessibilité */
a:focus-visible {
  outline: 3px solid var(--pink-text);
  outline-offset: 3px;
  border-radius: 12px;
}
.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;
}

/* Apparition douce, désactivée si l'utilisateur limite les animations */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .cards .rise:nth-child(1) { animation-delay: .08s; }
  .cards .rise:nth-child(2) { animation-delay: .16s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}
