/* ---- Site Iris : style Nuage (mêmes couleurs, polices et nuages que l'app) ---- */
@font-face { font-family: 'Fredoka'; font-weight: 500; font-display: swap; src: url('/polices/Fredoka_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Fredoka'; font-weight: 600; font-display: swap; src: url('/polices/Fredoka_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url('/polices/Nunito_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('/polices/Nunito_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('/polices/Nunito_800ExtraBold.ttf') format('truetype'); }

:root {
  --ciel-haut: #dfe7fa;
  --ciel: #eaeffb;
  --fond: #fdfbf8;
  --coussin: #ffffff;
  --creux: #f1f2f8;
  --bordure: #e6e8f2;
  --encre: #3f4060;
  --encre-douce: #5f6080;
  --principal: #c4daf6;
  --principal-fort: #4f55a8;
  --tetee: #fbdde4; --tetee-fonce: #a9465c;
  --biberon: #cfe2f8; --biberon-fonce: #36649c;
  --sieste: #e3e7fc; --sieste-fonce: #5a5ebe;
  --autre: #d7f1e6; --autre-fonce: #2f7e60;
  --couche: #f5dccb; --couche-fonce: #9a5434;
  --tire-lait: #fbefc4; --tire-lait-fonce: #8a6a12;
  --ombre: 0 10px 28px rgba(110, 125, 175, 0.16);
  --rayon: 28px;
  --largeur: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  color: var(--encre);
  background: var(--fond);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--principal-fort); font-weight: 800; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--principal-fort); outline-offset: 3px; border-radius: 8px; }

.conteneur { width: min(100% - 40px, var(--largeur)); margin-inline: auto; }
.etroit { width: min(100% - 40px, 760px); margin-inline: auto; }

/* ---- En-tête ---- */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.marque { display: flex; align-items: center; gap: 8px; font-family: 'Fredoka'; font-weight: 600; font-size: 28px; color: var(--encre); }
.marque:hover { text-decoration: none; }
.marque svg { width: 46px; height: auto; }
.menu { display: flex; gap: 22px; list-style: none; }
.menu a { color: var(--encre); font-weight: 700; font-size: 15px; }
@media (max-width: 640px) { .menu { display: none; } }
.droite { display: flex; align-items: center; gap: 22px; }
.instagram { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: var(--encre); }
.instagram:hover { background: #fff; }
.instagram svg { width: 22px; height: 22px; }

/* ---- Ciel (haut de page) ---- */
.ciel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ciel-haut), var(--ciel));
  padding: 120px 0 110px;
}
.ciel .nuage { position: absolute; fill: #fff; opacity: 0.95; pointer-events: none; }
.ciel .bord { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--fond); }
.ciel.petit { padding: 110px 0 90px; text-align: center; }

.accroche { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 860px) { .accroche { grid-template-columns: 1fr; text-align: center; } }
.logo { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.logo svg { width: 170px; height: auto; filter: drop-shadow(0 8px 14px rgba(110, 125, 175, 0.16)); }
.logo span { font-family: 'Fredoka'; font-weight: 600; font-size: 56px; line-height: 1; margin-top: -4px; }
h1, h2, h3 { font-family: 'Fredoka'; font-weight: 600; line-height: 1.15; color: var(--encre); }
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.5px; }
h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
h3 { font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.intro { font-size: 19px; color: var(--encre-douce); margin: 16px 0 26px; max-width: 34em; }
@media (max-width: 860px) { .intro { margin-inline: auto; } }

.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .boutons { justify-content: center; } }
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--principal); color: var(--encre);
  font-weight: 800; font-size: 16px; box-shadow: var(--ombre);
}
.bouton:hover { text-decoration: none; transform: translateY(-1px); }
.bouton.discret { background: var(--coussin); }
.bouton[aria-disabled='true'] { cursor: default; }
.bouton[aria-disabled='true']:hover { transform: none; }
.pastille {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--coussin); color: var(--encre-douce); font-weight: 800; font-size: 13px;
  box-shadow: var(--ombre);
}

.telephone { justify-self: center; width: min(320px, 80vw); border-radius: 34px; overflow: hidden; box-shadow: 0 24px 50px rgba(63, 64, 96, 0.22); }

/* ---- Sections ---- */
section { padding: 70px 0; }
.titre-section { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.titre-section p { color: var(--encre-douce); font-size: 17px; }

.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grille { grid-template-columns: 1fr; } }
.carte { background: var(--coussin); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); }
.carte p { color: var(--encre-douce); font-size: 15px; }
.icone {
  width: 52px; height: 52px; border-radius: 999px;
  display: grid; place-items: center; margin-bottom: 14px; font-size: 24px;
}

/* Captures : défilement horizontal doux */
.captures { display: flex; gap: 18px; overflow-x: auto; padding: 10px 20px 26px; scroll-snap-type: x mandatory; }
.captures img { flex: 0 0 auto; width: 240px; border-radius: 26px; box-shadow: var(--ombre); scroll-snap-align: center; }
@media (min-width: 1100px) { .captures { justify-content: center; } }

/* IRIS+ */
.plus { background: linear-gradient(180deg, var(--fond), var(--creux)); }
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 620px; margin: 28px auto 0; }
@media (max-width: 560px) { .offres { grid-template-columns: 1fr; } }
.offre { background: var(--coussin); border-radius: var(--rayon); padding: 26px 20px; text-align: center; box-shadow: var(--ombre); border: 2.5px solid transparent; }
.offre.mise-en-avant { border-color: var(--principal-fort); }
.offre .prix { font-family: 'Fredoka'; font-weight: 500; font-size: 40px; line-height: 1.1; margin: 6px 0; }
.offre small { color: var(--encre-douce); font-size: 14px; }
.liste-coche { list-style: none; display: grid; gap: 10px; max-width: 560px; margin: 0 auto; }
.liste-coche li { display: flex; gap: 12px; align-items: flex-start; background: var(--coussin); border-radius: 20px; padding: 14px 18px; box-shadow: var(--ombre); }
.liste-coche li::before { content: '✓'; color: var(--autre-fonce); font-weight: 800; }
.note { text-align: center; color: var(--encre-douce); font-size: 14px; margin-top: 18px; }

/* Confiance */
.confiance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .confiance { grid-template-columns: 1fr; } }

/* Questions */
details { background: var(--coussin); border-radius: 22px; padding: 18px 22px; box-shadow: var(--ombre); margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--principal-fort); font-weight: 800; }
details[open] summary::after { content: '–'; }
details p { margin-top: 10px; color: var(--encre-douce); }

/* Contact */
.contact { text-align: center; }
.contact .carte { max-width: 560px; margin: 0 auto; }

/* ---- Pages de texte (CGU, confidentialité, mentions légales) ---- */
.texte { padding: 30px 0 70px; }
.texte h2 { font-size: 26px; margin: 38px 0 10px; }
.texte h3 { font-size: 19px; margin: 24px 0 6px; }
.texte p, .texte li { color: var(--encre); margin-bottom: 10px; }
.texte ul { padding-left: 22px; margin-bottom: 12px; }
.texte .resume { background: var(--coussin); border-radius: var(--rayon); padding: 22px 24px; box-shadow: var(--ombre); font-size: 17px; }
.texte .date { color: var(--encre-douce); font-size: 14px; margin-top: 8px; }
.texte .alerte { background: var(--tetee); color: var(--tetee-fonce); border-radius: 18px; padding: 14px 18px; font-weight: 800; }
.tableau { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 18px; background: var(--coussin); border-radius: 20px; overflow: hidden; box-shadow: var(--ombre); font-size: 15px; }
.tableau th, .tableau td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--bordure); }
.tableau tr:last-child td { border-bottom: 0; }
.tableau th { background: var(--creux); font-weight: 800; }
@media (max-width: 560px) { .tableau { font-size: 14px; } .tableau th, .tableau td { padding: 10px; } }
.sommaire { background: var(--creux); border-radius: 20px; padding: 16px 22px; margin: 20px 0; }
.sommaire ol { padding-left: 20px; columns: 2; column-gap: 30px; }
@media (max-width: 560px) { .sommaire ol { columns: 1; } }
.sommaire li { margin-bottom: 4px; }

/* ---- Pied de page ---- */
.pied { background: var(--creux); padding: 40px 0 30px; font-size: 14px; color: var(--encre-douce); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: 18px; }
.pied a { color: var(--encre); font-weight: 700; }
span.alerte { display: inline; padding: 2px 6px; border-radius: 6px; line-height: 1.9; }
