/* ============ Variables ============ */
:root {
  --orange: #F2A93B;
  --turquoise: #FF8FC5;
  --jaune: #FFD6EA;
  --fuchsia: #D6237D;
  --marine: #1F1611;
  --creme: #FFF6DF;
  --blanc: #ffffff;
  --rayon: 28px;
  --ombre: 0 6px 0 var(--marine);
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --pinceau: "Permanent Marker", "Marker Felt", cursive;
  --titre: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --texte: "Nunito", "Segoe UI", system-ui, sans-serif;
  --patte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='20' cy='42' rx='11' ry='15' transform='rotate(-20 20 42)'/%3E%3Cellipse cx='40' cy='24' rx='11' ry='15' transform='rotate(-6 40 24)'/%3E%3Cellipse cx='62' cy='24' rx='11' ry='15' transform='rotate(6 62 24)'/%3E%3Cellipse cx='82' cy='42' rx='11' ry='15' transform='rotate(20 82 42)'/%3E%3Cpath d='M51 46C68 46 84 64 82 78C80 92 66 90 51 90C36 90 22 92 20 78C18 64 34 46 51 46Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--texte);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--marine);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: .6rem; }
h3 { font-size: 1.45rem; margin-bottom: .4rem; }

.conteneur { width: min(1120px, 92%); margin-inline: auto; }
section { position: relative; padding: 5rem 0; }
.centre { text-align: center; }
.sur-titre {
  display: inline-block; font-family: var(--titre); font-weight: 600;
  background: var(--jaune); border: 3px solid var(--marine);
  padding: .2rem 1rem; border-radius: 99px; margin-bottom: 1rem; font-size: 1rem;
  transform: rotate(-2deg);
}

/* ============ Boutons ============ */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--titre); font-weight: 600; font-size: 1.15rem;
  padding: .8rem 1.8rem; border-radius: 99px;
  border: 3px solid var(--marine); background: var(--fuchsia); color: var(--blanc);
  box-shadow: 0 5px 0 var(--marine);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--marine); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--marine); }
.btn-jaune { background: var(--jaune); color: var(--marine); }
.btn-turquoise { background: var(--turquoise); color: var(--marine); }
.btn-blanc { background: var(--blanc); color: var(--marine); }

/* ============ En-tête ============ */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--jaune); border-bottom: 4px solid var(--marine);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--titre); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.logo .pastille { width: 46px; height: 46px; border-radius: 50%; background: var(--fuchsia); border: 3px solid var(--marine); display: grid; place-items: center; }
.logo .pastille::after { content: ""; width: 26px; height: 26px; background: var(--blanc); -webkit-mask: var(--patte) center/contain no-repeat; mask: var(--patte) center/contain no-repeat; }
.logo .nom { font-family: var(--script); font-weight: 400; font-size: 1.9rem; line-height: .9; }
.logo small { display: block; font-family: var(--pinceau); font-size: .72rem; color: var(--fuchsia); letter-spacing: .12em; transform: skewX(-8deg); }
.menu { display: flex; gap: .5rem; align-items: center; list-style: none; }
.menu a { text-decoration: none; font-family: var(--titre); font-weight: 600; padding: .45rem 1.1rem; border-radius: 99px; border: 3px solid transparent; }
.menu a:hover, .menu a.actif { background: var(--blanc); border-color: var(--marine); }
.menu .btn { padding: .45rem 1.3rem; font-size: 1rem; box-shadow: 0 4px 0 var(--marine); }
.menu .btn:hover { background: var(--fuchsia); border-color: var(--marine); }
.burger { display: none; background: var(--blanc); border: 3px solid var(--marine); border-radius: 14px; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; }

/* ============ Vagues ============ */
.vague { position: absolute; left: 0; width: 100%; height: 50px; line-height: 0; }
.vague svg { width: 100%; height: 100%; display: block; }
.vague-haut { top: -49px; }
.vague-bas { bottom: -1px; transform: scaleY(-1); }

/* ============ Héros ============ */
.hero { background: var(--turquoise); padding: 2.5rem 0 4.5rem; overflow: hidden; }
.hero .conteneur { display: grid; gap: 2.2rem; justify-items: center; }
.banniere { width: 100%; border: 5px solid var(--marine); border-radius: 36px; box-shadow: 10px 10px 0 var(--marine); }
.hero-texte { text-align: center; max-width: 820px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--marine); }
.hero h1 em { font-style: normal; color: var(--fuchsia); }
.hero p { font-size: 1.25rem; margin: 1rem 0 1.6rem; font-weight: 600; }
.hero .boutons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@keyframes rebond { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Pattes décoratives */
.deco-patte { position: absolute; width: 46px; height: 46px; background: currentColor; opacity: .35; -webkit-mask: var(--patte) center/contain no-repeat; mask: var(--patte) center/contain no-repeat; pointer-events: none; }
.p1 { top: 12%; left: 5%; color: var(--blanc); transform: rotate(-20deg); }
.p2 { bottom: 22%; left: 42%; color: var(--marine); transform: rotate(15deg); width: 34px; height: 34px; }
.p3 { top: 8%; right: 8%; color: var(--jaune); transform: rotate(25deg); }

/* ============ Bandeau ============ */
.bandeau { background: var(--marine); color: var(--jaune); overflow: hidden; padding: .9rem 0; border-block: 4px solid var(--marine); }
.defile { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: defile 28s linear infinite; font-family: var(--titre); font-weight: 600; font-size: 1.3rem; }
.defile span::before { content: "🐾"; margin-right: 3rem; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ============ Valeurs ============ */
.valeurs { background: var(--creme); }
.grille3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.5rem; }
.carte { background: var(--blanc); border: 4px solid var(--marine); border-radius: var(--rayon); padding: 2rem 1.6rem; box-shadow: var(--ombre); text-align: center; transition: transform .2s; }
.carte:hover { transform: translateY(-6px) rotate(-1deg); }
.carte .icone { width: 78px; height: 78px; border-radius: 50%; border: 4px solid var(--marine); display: grid; place-items: center; font-size: 2.3rem; margin: -3.2rem auto 1rem; }
.carte:nth-child(1) .icone { background: var(--orange); }
.carte:nth-child(2) .icone { background: var(--turquoise); }
.carte:nth-child(3) .icone { background: var(--fuchsia); }
.grille3 { padding-top: 2rem; }

/* ============ À propos ============ */
.apropos { background: var(--fuchsia); color: var(--blanc); }
.apropos .conteneur { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.apropos h2 { text-shadow: 3px 3px 0 var(--marine); }
.apropos p { margin-bottom: 1rem; font-weight: 600; }
.apropos .sur-titre { color: var(--marine); }
.cadre-photo { position: relative; aspect-ratio: 1; background: var(--jaune); border: 5px solid var(--marine); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; box-shadow: 10px 10px 0 var(--marine); overflow: hidden; display: grid; place-items: center; }
.cadre-photo img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.remplacant { width: 34%; aspect-ratio: 1; background: rgba(31,22,17,.25); -webkit-mask: var(--patte) center/contain no-repeat; mask: var(--patte) center/contain no-repeat; }
.badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.badge { background: var(--jaune); color: var(--marine); font-family: var(--titre); font-weight: 600; border: 3px solid var(--marine); border-radius: 99px; padding: .3rem 1.1rem; }
.suite-apropos { margin-top: 3rem; }
.suite-apropos .carte-politique { text-align: center; }

/* ============ Galerie ============ */
.galerie { background: var(--jaune); }
.galerie .sur-titre { background: var(--blanc); }
.grille-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 2.5rem; }
.grille-photos .cadre-photo { border-radius: var(--rayon); aspect-ratio: 1; box-shadow: 6px 6px 0 var(--marine); border-width: 4px; }
.grille-photos .cadre-photo:nth-child(1) { background: var(--fuchsia); transform: rotate(-3deg); }
.grille-photos .cadre-photo:nth-child(2) { background: var(--turquoise); transform: rotate(2deg); }
.grille-photos .cadre-photo:nth-child(3) { background: var(--creme); transform: rotate(-2deg); }
.grille-photos .cadre-photo:nth-child(4) { background: var(--blanc); transform: rotate(3deg); }
.grille-photos .cadre-photo:nth-child(5) { transform: rotate(-2deg); }
.grille-photos .cadre-photo:nth-child(6) { transform: rotate(2deg); }


/* ============ Appel à l'action ============ */
.appel { background: var(--fuchsia); color: var(--blanc); overflow: hidden; }
.appel .conteneur { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.appel h2 { text-shadow: 3px 3px 0 var(--marine); }
.appel p { font-weight: 700; font-size: 1.2rem; margin: .5rem 0 1.6rem; }
.appel .chien-cta { width: 300px; border: 5px solid var(--marine); border-radius: 30px; box-shadow: 8px 8px 0 var(--marine); transform: rotate(3deg); }

/* ============ Plaisir (texte + affiche) ============ */
.plaisir { background: var(--creme); }
.plaisir .conteneur { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.plaisir h2 { color: var(--fuchsia); }
.plaisir p { font-size: 1.2rem; margin-bottom: 1.1rem; font-weight: 600; }
.plaisir .question {
  display: inline-block; background: var(--jaune); border: 3px solid var(--marine);
  border-radius: 18px; padding: .6rem 1.2rem; font-family: var(--titre); font-weight: 700;
  transform: rotate(-1deg); margin-bottom: 1.1rem;
}
.plaisir .affiche-cadre { text-align: center; }
.plaisir .affiche-cadre img {
  display: inline-block; max-width: 340px; width: 100%; border: 5px solid var(--marine);
  border-radius: var(--rayon); box-shadow: 10px 10px 0 var(--marine); transform: rotate(2deg);
}

/* ============ Contact ============ */
.hero-contact { background: var(--fuchsia); padding: 3.5rem 0 6rem; color: var(--blanc); }
.hero-contact .conteneur { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.hero-contact h1 { text-shadow: 3px 3px 0 var(--marine); -webkit-text-stroke: 1px var(--marine); }
.hero-contact p { font-weight: 700; font-size: 1.2rem; margin-top: 1rem; }
.hero-contact img { width: 220px; aspect-ratio: 1; object-fit: cover; border: 5px solid var(--marine); border-radius: 50%; box-shadow: 8px 8px 0 var(--marine); animation: rebond 3s ease-in-out infinite; }
.contact-corps { background: var(--creme); padding-top: 4rem; }
.contact-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: start; }
.infos { display: grid; gap: 1.2rem; }
.info { display: flex; gap: 1rem; align-items: center; background: var(--blanc); border: 4px solid var(--marine); border-radius: var(--rayon); padding: 1rem 1.3rem; box-shadow: var(--ombre); text-decoration: none; transition: transform .2s; }
a.info:hover { transform: translateX(6px); }
.info .icone { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--marine); display: grid; place-items: center; font-size: 1.6rem; }
.info:nth-child(1) .icone { background: var(--jaune); }
.info:nth-child(2) .icone { background: var(--turquoise); }
.info:nth-child(3) .icone { background: var(--orange); }
.info:nth-child(4) .icone { background: var(--fuchsia); }
.info strong { display: block; font-family: var(--titre); font-size: 1.2rem; }
.info span { word-break: break-word; }
form { background: var(--blanc); border: 4px solid var(--marine); border-radius: var(--rayon); padding: 2rem; box-shadow: var(--ombre); display: grid; gap: 1.1rem; }
label { font-family: var(--titre); font-weight: 600; display: grid; gap: .3rem; }
input, textarea {
  font: inherit; color: var(--marine); background: var(--creme);
  border: 3px solid var(--marine); border-radius: 18px; padding: .7rem 1rem; width: 100%;
}
input:focus, textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 4px var(--turquoise); }
textarea { min-height: 150px; resize: vertical; }
.note-form { font-size: .95rem; font-weight: 600; opacity: .8; }

/* ============ Pied de page ============ */
.pied { background: var(--marine); color: var(--creme); padding: 3rem 0 1.5rem; }
.pied .conteneur { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.pied h3 { color: var(--jaune); }
.pied ul { list-style: none; }
.pied li { margin-bottom: .4rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--jaune); text-decoration: underline; }
.pied .copy { grid-column: 1 / -1; text-align: center; font-size: .95rem; opacity: .7; border-top: 2px dashed rgba(255,248,231,.3); padding-top: 1.2rem; margin-top: .5rem; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--jaune); border-bottom: 4px solid var(--marine); padding: 1rem; }
  .menu.ouvert { display: flex; }
  .hero .conteneur, .apropos .conteneur, .contact-grille, .appel .conteneur, .hero-contact .conteneur, .plaisir .conteneur { grid-template-columns: 1fr; }
  .scene { min-height: 320px; }
  .grille3 { grid-template-columns: 1fr; gap: 3.2rem; }
  .grille-photos { grid-template-columns: repeat(2, 1fr); }
  .pied .conteneur { grid-template-columns: 1fr; }
  .appel .chien-cta, .hero-contact img { display: none; }
  section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============ Politiques ============ */
.contenu-politique { background: var(--creme); padding-top: 4rem; }
.carte-politique {
  background: var(--blanc); color: var(--marine); border: 4px solid var(--marine); border-radius: var(--rayon);
  padding: 2.4rem clamp(1.4rem, 4vw, 3rem); box-shadow: var(--ombre); max-width: 860px; margin-inline: auto;
}
.carte-politique h2 {
  color: var(--fuchsia); margin-top: 2.2rem; padding-top: 1.6rem; border-top: 3px dashed rgba(31,22,17,.2);
  font-size: 1.5rem;
}
.carte-politique h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.carte-politique h3 {
  color: var(--fuchsia); margin-top: 2rem; padding-top: 1.4rem;
  border-top: 3px dashed rgba(31,22,17,.15); font-size: 1.3rem;
}
.carte-politique p { margin-bottom: 1rem; font-weight: 400; }
.carte-politique ul { margin: 0 0 1rem 1.4rem; }
.carte-politique li { margin-bottom: .4rem; }
.carte-politique a { color: var(--fuchsia); font-weight: 700; text-decoration: underline; }
.carte-politique .intro { font-weight: 700; font-size: 1.15rem; }
.encadre-aide {
  background: var(--jaune); border: 3px solid var(--marine); border-radius: 20px;
  padding: 1.2rem 1.5rem; margin-top: 2rem; text-align: center; font-weight: 700;
}
