/* ===========================================================
   Paulette – 10 ans – jeu concours
   Feuille de style partagée (index / merci / reglement)
   =========================================================== */

/*
Filson Pro Regular
font-family: "filson-pro", sans-serif;
font-weight: 400;
font-style: normal;
Filson Pro Regular Italic
font-family: "filson-pro", sans-serif;
font-weight: 400;
font-style: italic;
Filson Pro Bold
font-family: "filson-pro", sans-serif;
font-weight: 700;
font-style: normal;
Filson Pro Heavy
font-family: "filson-pro", sans-serif;
font-weight: 800;
font-style: normal;
*/

:root {
  --teal: #009e92;
  --teal-dark: #026180;
  --yellow: #ffd201;
  --orange: #e86c08;
  --purple: #933488;
  --white: #ffffff;
  --ink: #1e1e1c;

  --font-body: "filson-pro", sans-serif;

  --container: 1180px;
  --radius-lg: 68px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--teal);
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

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

a {
  color: inherit;
}

h1 {font-weight: 800; text-transform: uppercase;}
.titre-cadre {color: var(--teal); }

.espace-haut {aspect-ratio: 1200/671;}

.pcard {
  max-width: var(--container);
  margin: 0 18%;
  background: var(--white);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 64px) clamp(32px, 5vw, 56px);
  padding-bottom: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  position : relative;
}

@media (min-width: 768px) and (max-width: 991px) {
	.espace-haut {aspect-ratio: 1200/621;}
}
@media (min-width: 992px) {
	.titre-cadre {padding: 3px 8px; color: var(--white); background: var(--teal);}
}


@media (max-width: 767px) {
  .pcard {
    transform: translateY(clamp(-30px, -6vw, -16px));
   /* border-radius: 20px;*/
	margin: 0 4%;
  }
}
@media (max-width: 991px) {
	.pcard {margin: 0 4%; border-radius: var(--radius-md);}
}
@media (min-width: 1400px) {
    .container {max-width: 1140px;}
}
/* ---------- Titres ---------- */
/*
.eyebrow {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 34px);
  padding: 0.35em 0.6em;
  margin: 0 0 0.5em;
}

h1.eyebrow,
h2.eyebrow {
  line-height: 1.1;
}

.title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

.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;
}
*/
/* ---------- Formulaire (index.php) ---------- */
.page-home .site-shell {
  background: url(../img/bg-home-sm.jpg) top center no-repeat ; background-size: 100%;
}
@media (min-width: 992px) {
	.page-home .site-shell {
	  background: url(../img/bg-home.jpg) top center no-repeat var(--yellow); background-size: 100%;
	}
}
.page-home .titre-page { text-align: center; margin-bottom: 30px;}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.field-row.single {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 15px;
  margin-bottom: 6px;
}

.field input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border: 2px solid var(--teal);
  /*border-radius: 10px;*/
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.field input:focus {
  border: 2px solid var(--yellow);
}

.required-note {
  text-align: right;
  font-size: 13px;
  color: var(--ink);
  margin: 0 0 22px;
}

.upload-block {
  text-align: center;
  margin: clamp(24px, 4vw, 40px) 0;
}

.upload-title {
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 26px);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  color: var(--white);
  background: var(--teal);
  border: none;
  border-radius: 35px;
  padding: 6px 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--purple); color: #fff;
}

.btn svg {
  width: 35px;
  height: 35px;
  flex: none;
}

.upload-hint {
  font-size: 14px;
  margin: 16px 0 0;
}

.upload-note {
  font-style: italic;
  font-size: 14px;
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 1.5;
}

.file-input {
  display: none;
}

.file-name {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--teal-dark);
  font-weight: 700;
}

.consent-block {
  margin: clamp(20px, 3vw, 32px) 0;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--teal);
}

.checkbox-row a {
  text-decoration: underline;
}

.rgpd-note {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 clamp(24px, 3vw, 32px);
}

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


.legal-note {
  text-align: center;
  font-size: 12px;
  color: var(--teal);
  line-height: 1.4;
  margin: clamp(24px, 4vw, 36px) 0 0;
}
@media (max-width: 767px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}


@media (min-width: 992px) {
	.page-home .titre-page { margin-top: -55px; margin-bottom: 30px;  }
	.page-home .titre-page h1 {display: inline-block;}
}
@media (min-width: 992px) {
	.page-home .titre-page { margin-top: -75px; margin-bottom: 30px;  }
}



.zone-erreurs {
  background-color: #fff5f5;
  border: 1px solid #dc3545;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  margin: 1rem auto;
  max-width: 100%;
  text-align: left;
}

.zone-erreurs ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #dc3545;
  font-size: 1.03rem;
}

.champ-erreur {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}



/* ---------- MERCI ---------- */
.page-merci .site-shell {
  background: url(../img/bg-home-sm.jpg) top center no-repeat ; background-size: 100%;
}
.page-merci .espace-haut {aspect-ratio: 1200/671;}
.page-merci .titre-page { text-align: center; margin-bottom: 30px; color: var(--teal);}

@media (min-width: 992px) {
	.page-merci .espace-haut {aspect-ratio: 1200/371;}
	.page-merci .site-shell {
	  background: url(../img/bg-merci-suite.svg) top center no-repeat, url(../img/bg-merci.png) top center no-repeat, url(../img/bg-merci.svg) top center no-repeat var(--yellow); background-size: 100%;
	}
	.page-merci .titre-page { margin-top: -55px; margin-bottom: 30px;  }
	.page-merci .titre-page h1 {display: inline-block;}
}
@media (min-width: 768px) and (max-width: 991px) {
	.page-merci .espace-haut {aspect-ratio: 1200/621;}
}
@media (min-width: 992px) {
	.page-merci .titre-page { margin-top: -75px; margin-bottom: 30px;  }
}



.merci-text {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vw, 36px);
}

.merci-cat {
  width: clamp(120px, 16vw, 120px);
  margin: clamp(10px, 3vw, 20px) auto 0;
  height: auto;
}

@media (min-width: 768px) {
  .merci-cat {
    position: absolute;
    right: clamp(0px, 4vw, 0px);
    bottom: 0;
    margin: 0;
  }
}





/* ---------- REGLEMENT ---------- */
.page-reglement .site-shell {
  background: url(../img/bg-home-sm.jpg) top center no-repeat ; background-size: 100%;
}
.page-reglement .espace-haut {aspect-ratio: 1200/671;}
.page-reglement .titre-page { text-align: center; margin-bottom: 30px; color: var(--teal);}

@media (min-width: 992px) {
	.page-reglement .espace-haut {aspect-ratio: 1200/371;}
	.page-reglement .site-shell {
	  background: url(../img/bg-merci-suite.svg) top center no-repeat, url(../img/bg-merci.png) top center no-repeat, url(../img/bg-merci.svg) top center no-repeat var(--yellow); background-size: 100%;
	}

}
@media (min-width: 768px) and (max-width: 991px) {
	.page-reglement .espace-haut {aspect-ratio: 1200/621;}
}


.page-reglement h1 {color: var(--teal); font-size: 1.75em; }
.reglement-body {
  font-size: 16px;
  line-height: 1.4; text-align: justify;
}

.reglement-body h2 {font-size: 1.35rem; color: var(--purple); padding-top: 29px; text-align: left;}
.reglement-body p {
  margin: 0 0 1.2em;
}



/* ---------- Page merci ---------- */
/*
.merci-card {
  text-align: center;
  position: relative;
}

.merci-text {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto clamp(24px, 4vw, 36px);
}

.merci-cat {
  width: clamp(120px, 16vw, 170px);
  margin: clamp(10px, 3vw, 20px) auto 0;
}

@media (min-width: 768px) {
  .merci-card {
    padding-right: clamp(160px, 22vw, 240px);
  }

  .merci-cat {
    position: absolute;
    right: clamp(0px, 4vw, 40px);
    bottom: 0;
    margin: 0;
  }
}
*/
/* ---------- Page règlement ---------- */
/*
.reglement-body {
  font-size: 16px;
  line-height: 1.7;
}

.reglement-body p {
  margin: 0 0 1.2em;
}*/




/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--teal);
  color: var(--white);
  padding: 22px 20px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*width: 34px;
  height: 34px;
  border: 2px solid var(--white);
  border-radius: 50%;*/
  flex: none;
}

.footer-social img {width: 40px; height: 40px;}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}


@media (max-width: 767px) {
  .site-footer {padding-top: 0px;}
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links li {display: block; width: 100%; text-align: center;}
  .footer-social {
	  width: 100%;
	 justify-content: center;
	}
}
@media (max-width: 992px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
	  width: 100%;
	 justify-content: center;
	}
  .footer-social {
	  width: 100%;
	 justify-content: center;
	}
}




/* ******************************* POPUP   */
.popup .cadre {padding:0px; /*box-shadow: 3px 3px 4px #000; */background: #fff; border: solid 5px var(--Bleu); border-radius: 25px; text-transform: uppercase; color: #000;}
.popup .cadre .filet {/*border: solid 4px #e5370d;*/ padding: 8px;}
.popup .cadre .filet .zone-fermer {width: 100%; overflow: hidden; margin-bottom: 20px;}
.popup .cadre .filet .zone-fermer img {width: 17px; height: 17px; float: right; display: block;}
.popup .cadre .filet .zone-contenu {padding: 0 12px; padding-top: 40px; text-align: center; font-size: 24px; line-height: 1.4; font-weight: 400;}
.popup .cadre .filet .zone-contenu.reduit {padding-top: 0; }
.popup .cadre .filet .zone-contenu .rouge {color: #2d3cff;}
@media (min-width:420px) {
	.popup { padding:5px;  }
	.popup .cadre .filet {padding: 18px;}
	.popup .cadre .filet .zone-fermer img {width: 34px; height: 34px; }
}
