/* Repere visuel temporaire pour inspecter les blocs 
* {outline: 1px solid red;}*/

/* =====  RESET CSS CLASSIQUE==== */
*, *::before, *::after { box-sizing: border-box;}
* { margin: 0; padding: 0; }
html, body { width: 100%; min-height: 100%; }
body { line-height: 1.5;   -webkit-font-smoothing: antialiased;   text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg {  display: block;  max-width: 100%;  height: auto;}
input, button, textarea, select {  font: inherit;}
a {  color: inherit;  text-decoration: none;}
ul, ol {  list-style: none;}
table {  border-collapse: collapse;  border-spacing: 0;}
textarea {  resize: vertical;}
h1, h2, h3, h4, h5, h6, p {  overflow-wrap: break-word;}
article, aside, details, figcaption, figure, footer, header, main, nav, section {  display: block;}
/* fin reset css */

:root {
  --white: #ffffff;
  --linen: #f7f6f9;
  --mist: #e9e9e7;
  --linen-blue: #eef3f5;
  --mist-blue: #eef4f7;
  --powder: #f3f7f9;
  --frost: #f8f7f7;
  --cloud: #edf3f6;
  --pearl-blue: #f5f8fa;

  --turquoise-dark: #15898e;
  --turquoise-pale: #d8f4f2;
  --corail: #ff766b;
   --corail-dark: #ae2d23;
  --coral-soft: #fbf1ef;
  --cream: #fffaf4;
  --page-bg: #f2f2f2;
   --ink: #2d2b29;
  --muted: #66615d;
  --whitish: #fffafa;
  --line: rgba(45, 43, 41, .14);
  --shadow: 0 18px 50px rgba(21, 137, 142, .12);
  --radius-lg: 28px;
  --radius-md: 16px;
 
  --font-title:  "Gideon Roman", "Zodiak-Light", serif;
  --font-body: "Simonetta", Garamond, sans-serif;
  --font-accent: "Newsreader", "Simonetta", serif;
  --font-ui: "Geist", "Lexend", sans-serif;
  --turquoise: #2AB8BD;
 
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.06rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.8rem);
  --fs-h4: clamp(1.2rem, 1.5vw, 1.45rem);
  --fs-h5: clamp(1.05rem, 1.2vw, 1.2rem);
  --fs-h6: 1rem;
  --lh-body: 1.52;
  --lh-title: 1.15;
}


html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  width: calc(100% - 30px);
  max-width: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 8px 0;
  color: var(--ink);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(206, 201, 196, 0.18);
  overflow-x: hidden;
}

.nocopy {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}


.narrow {
  max-width: 1024px;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


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

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

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

.float-left {
  float: left;
  margin: 0 24px 16px 0;
}

.float-right {
  float: right;
  margin: 0 0 16px 24px;
}

.clear-both {
  clear: both;
}


/* ======== typo ========
cf typography.css*/

/* ======== fonts ========*/

@font-face {
  font-family: "Zodiak-Light";
  src: url("../fonts/Zodiak-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zodiak-ThinItalic";
  src: url("../fonts/Zodiak-ThinItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zodiak-Regular";
  src: url("../fonts/Zodiak-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zodiak-Bold";
  src: url("../fonts/Zodiak-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* lexend-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lexend-v26-latin-regular.woff2') format('woff2');
}

/* geist-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/geist-v4-latin-regular.woff2') format('woff2');
}

/* newsreader-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/newsreader-v26-latin-regular.woff2') format('woff2');
}

/* fraunces-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fraunces-v38-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: "Emily Candy";
  src: url("../fonts/EmilysCandy-Regular.ttf") format("truetype");
  font-display: swap;
}

@media (max-width: 1040px) {
  body {
    width: calc(100% - 12px);
  }
}

/* =========================
   PLACEHOLDERS TEMPORAIRES
========================= */

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  color: var(--turquoise-dark);
  background:
    linear-gradient(135deg, rgba(44, 190, 195, .16), rgba(255, 118, 107, .16)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .5) 0 12px, rgba(255, 255, 255, .18) 12px 24px);
  border: 2px solid var(--turquoise);
  box-shadow: 0 4px 0 rgba(255, 118, 107, .25), var(--shadow);
  text-align: center;
  transition: filter .3s ease, transform .3s ease;
}

.placeholder span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 244, .82);
}

.placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .38);
  opacity: 0;
  transform: scale(.94);
  transition: .3s ease;
}

.placeholder:hover::after {
  opacity: 1;
  transform: scale(1);
}

.placeholder-hero {
  min-height: 360px;
  aspect-ratio: 16 / 7;
  border-radius: 24px;
}


.founder-strip .placeholder {
  aspect-ratio: 4 / 2.35;
  border-radius: 10px;
}

.cat-entry .placeholder {
  width: min(360px, 100%);
  margin: 6px auto 6px;
  aspect-ratio: 1 / 1.22;
  border-radius: 10px;
}

.cat-entry .placeholder.wide {
  aspect-ratio: 4 / 3;
}


.side-panel .placeholder {
  margin: 16px auto 18px;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 10px;
}

.parents-grid .placeholder {
  max-width: 310px;
  margin: 0 auto 18px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.mosaic .placeholder {
  min-height: 180px;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.care-card .placeholder {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 12px;
}

.slide .placeholder {
  min-height: 320px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}


@media (max-width: 720px) {
  .slide .placeholder {
    min-height: 260px;
  }
  
  .placeholder-hero {
    min-height: 230px;
  }

}

.mini-placeholder {
  aspect-ratio: 3 / 2;
  border-radius: 14px;
}
