/* accueil2026.css (v12) - page d'accueil : la connexion se loge dans la porte de la grande niche, 4 blocs courts. */
html { background-color: #FFF1DB; }
body.tc-accueil { margin: 0; min-height: 100vh; }
.acc-page { max-width: 1080px; margin: 0 auto; padding: 14px 14px 30px; box-sizing: border-box; text-align: center; color: #3B2340; }
.acc-tete { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 4px 0 14px; }
.acc-logo { display: block; width: 190px; max-width: 100%; height: auto; margin: 0 auto 2px; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 5px 8px rgba(120,70,40,.18)); }
.acc-bienvenue { background: #FFFCF3; border: 1px solid #F1D9B2; border-radius: 999px; padding: 8px 26px; box-shadow: 0 6px 18px rgba(120,70,40,.10); }
.acc-titre { font-family: "Fredoka", "Nunito", Arial, sans-serif; font-weight: 600; font-size: 24px; color: #9E1F6A; line-height: 1.2; }
body.tc h1.acc-sous-titre, .acc-sous-titre { font-size: 16px; color: #3B2340; margin: 0; font-weight: 400; font-family: inherit; }
.acc-sous-titre strong { color: #660099; }

.acc-carte { display: grid; grid-template-columns: 236px 1fr; gap: 18px; align-items: center; background: linear-gradient(180deg, #FFF6E9 0, #FFEFD6 100%); border-radius: 28px; padding: 18px; box-shadow: 0 14px 40px rgba(120,70,40,.16), inset 0 0 0 1px rgba(255,255,255,.7); }
.acc-blocs { order: -1; display: flex; flex-direction: column; gap: 16px; text-align: left; align-self: stretch; justify-content: center; }
.acc-bloc { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(80,40,20,.10); }
.acc-bloc h2 { margin: 0; padding: 7px 12px; font-family: "Fredoka", "Nunito", Arial, sans-serif; font-weight: 600; font-size: 16.5px; color: #fff; text-align: left; letter-spacing: .2px; }
.acc-bloc p { margin: 0; padding: 9px 13px 11px; font-size: 13px; line-height: 1.5; color: #2E2430; }
.acc-vert h2 { background: linear-gradient(180deg, #4C8A1E 0, #336600 100%); } .acc-vert p { background: #E4FFD6; }
.acc-rouge h2 { background: linear-gradient(180deg, #B8451F 0, #8E2A12 100%); } .acc-rouge p { background: #FFE6CF; }
.acc-bleu h2 { background: linear-gradient(180deg, #2B47B0 0, #1A2A80 100%); } .acc-bleu p { background: #DDEBFF; }
.acc-violet h2 { background: linear-gradient(180deg, #8E3AA0 0, #660066 100%); } .acc-violet p { background: #F5E3FF; }
.acc-gratuit { color: #2F8F2F; }

/* La scene : la toile porte le dessin ET la connexion, dans le meme repere (unites cqw = 1 % de la toile). */
.acc-niche { min-width: 0; }
.acc-niche-scene { position: relative; margin: 0 auto; overflow: hidden; border-radius: 24px; container-type: inline-size; }
.acc-niche-toile { position: relative; container-type: inline-size; }
.acc-niche-toile .niche-svg { display: block; width: 100%; height: auto; }

/* Connexion dans la porte (niche a l'echelle 1,5 : toit entier) : zone de 19,2 % x 31,4 % logee dans l'ouverture sombre (jamais au-dela). */
.acc-form { position: absolute; left: 50%; top: 59.7%; width: 19.2%; height: 31.4%; transform: translateX(-50%); box-sizing: border-box; margin: 0;
  display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1.05cqw; padding: 0 .6cqw; background: none; border: 0; box-shadow: none; }
.acc-form input { width: 100%; box-sizing: border-box; height: 4.5cqw; min-height: 26px; margin: 0; padding: 0 1cqw; text-align: center;
  font: 700 clamp(11px, 1.6cqw, 16px) "Nunito", Arial, sans-serif; color: #3B2340; background: rgba(255,255,255,.96);
  border: 2px solid rgba(255,214,240,.55); border-radius: 1.3cqw; box-shadow: 0 0 0 .35cqw rgba(255,255,255,.08), 0 .4cqw 1cqw rgba(0,0,0,.35); }
.acc-form input::placeholder { color: #9C8CA6; font-weight: 700; }
.acc-form input:focus { outline: none; border-color: #FF9AD0; box-shadow: 0 0 0 .5cqw rgba(255,130,200,.35); }
.acc-form input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px rgba(255,255,255,.98) inset; -webkit-text-fill-color: #3B2340; }
.acc-bouton, body.tc .acc-bouton { display: block; box-sizing: border-box; width: 100%; margin: .3cqw 0 0; padding: 1cqw .8cqw; border: 0; border-radius: 999px; cursor: pointer; text-align: center;
  background: linear-gradient(180deg, #F26BAE 0, #C03284 100%); color: #fff !important; text-decoration: none !important;
  font: 600 clamp(12px, 1.9cqw, 19px)/1.1 "Fredoka", "Nunito", Arial, sans-serif; box-shadow: 0 .35cqw 0 #7E1752, 0 0 1.6cqw rgba(255,120,190,.45); }
.acc-bouton:hover { filter: brightness(1.08); }
.acc-deja { gap: 1.2cqw; text-align: center; }
.acc-bonjour { display: flex; flex-direction: column; align-items: center; gap: .25cqw; }
.acc-bonjour span { font: 700 clamp(10px, 1.2cqw, 13px)/1.2 "Nunito", Arial, sans-serif; color: #E7DDF7; letter-spacing: .02em; opacity: .9; }
.acc-bonjour b { display: block; max-width: 100%; color: #FFE08A; font: 600 clamp(15px, 2.3cqw, 24px)/1.1 "Fredoka", "Nunito", Arial, sans-serif; text-shadow: 0 0 1.2cqw rgba(255, 214, 110, .45), 0 .2cqw 0 rgba(0, 0, 0, .35); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-bouton.acc-retrouver, body.tc .acc-bouton.acc-retrouver { background: linear-gradient(180deg, #FFD15C 0, #F59E1B 100%); color: #4A2A06 !important; font-size: clamp(11px, 1.6cqw, 17px); box-shadow: 0 .35cqw 0 #B8640A, 0 0 1.8cqw rgba(255, 196, 80, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-lien-petit, body.tc .acc-lien-petit { font: 700 clamp(10px, 1.2cqw, 13px) "Nunito", Arial, sans-serif; color: #D9C6EC !important; text-decoration: none !important; }
.acc-lien-petit:hover { color: #fff !important; }

.acc-inscription { display: inline-block; margin: 16px 0 6px; padding: 10px 22px; border-radius: 999px; background: linear-gradient(180deg, #3FA9F5 0, #1F6FD1 100%); color: #fff !important; font-family: "Fredoka", "Nunito", Arial, sans-serif; font-weight: 600; font-size: 20px; text-decoration: none !important; box-shadow: 0 4px 0 #134F98, 0 8px 18px rgba(31,111,209,.32); }
.acc-inscription:hover { filter: brightness(1.08); }
.acc-inscription small { display: block; font-family: "Nunito", Arial, sans-serif; font-weight: 700; font-size: 12.5px; opacity: .9; margin-top: 1px; }
.acc-inscription { animation: acc-appel 3.2s ease-in-out infinite; }
@keyframes acc-appel { 0%, 82%, 100% { transform: scale(1); } 88% { transform: scale(1.05); } 94% { transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) { .acc-inscription { animation: none; } }
.acc-compteur { font-size: 14.5px; line-height: 1.55; margin: 6px 0; }
.acc-compteur b { font-size: 19px; color: #660099; }
.acc-oubli { margin: 4px 0 0; font-size: 13px; }
.acc-oubli a { color: #9E1F6A; }

.acc-caroline { max-width: 680px; margin: 16px auto 0; font-size: 13px; color: #5A3A1A; }
.acc-caroline a { color: #9E1F6A; }
.acc-seo { max-width: 780px; margin: 14px auto 0; text-align: left; background: #FFFCF3; border: 1px solid #F1D9B2; border-radius: 18px; padding: 0 18px; font-size: 13.5px; line-height: 1.6; color: #4A3A2A; }
.acc-seo summary { cursor: pointer; list-style: none; padding: 10px 0; text-align: center; font-weight: 700; color: #5E4456; font-size: 13px; }
.acc-seo summary::-webkit-details-marker { display: none; }
.acc-seo summary::after { content: " \25BE"; }
.acc-seo[open] { padding-bottom: 12px; }
.acc-seo[open] summary::after { content: " \25B4"; }
.acc-seo h2 { font-size: 16px; color: #003399; margin: 10px 0 4px; }
.acc-seo p { margin: 0 0 7px; }
.acc-liens { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acc-liens a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid #F1D9B2; color: #660099; font-weight: 700; text-decoration: none; font-size: 13px; }
.acc-liens a:hover { border-color: #C9A8E6; }
.acc-legal { margin: 12px 0 0; font-size: 12px; }
.acc-legal a { color: #9A8590; }
.acc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 860px) {
  .acc-carte { grid-template-columns: 1fr; padding: 12px; }
  .acc-blocs { order: 1; display: grid; grid-template-columns: 1fr 1fr; }
  .acc-blocs .acc-logo { grid-column: 1 / -1; }
}
/* Telephone : la toile est agrandie et centree sur la niche (la porte reste assez grande pour saisir). */
@media (max-width: 560px) {
  .acc-page { padding: 8px 8px 24px; }
  .acc-tete { margin: 0 0 10px; gap: 6px; }
  .acc-logo { width: 160px; }
  .acc-titre { font-size: 18px; }
  body.tc h1.acc-sous-titre, .acc-sous-titre { font-size: 14.5px; }
  .acc-bienvenue { border-radius: 20px; padding: 8px 14px; }
  .acc-carte { padding: 8px 8px 12px; }
  .acc-blocs { grid-template-columns: 1fr; }
  .acc-niche-scene { border-radius: 20px; }
  .acc-niche-toile { width: 173%; margin-left: -36.5%; margin-top: -2%; }
  /* v16 : sur telephone, la connexion passe sous la niche, en grand (saisie et remplissage automatique fiables) */
  .acc-form, .acc-form.acc-deja { position: static; transform: none; width: auto; height: auto; margin: 0; padding: 14px 14px 16px; gap: 10px;
    background: linear-gradient(180deg, #2B1D3F, #3B2556); border-radius: 0 0 20px 20px; }
  .acc-form::before { content: "Votre chien vous attend dans sa niche"; display: block; text-align: center; font: 600 15px/1.2 "Fredoka", "Nunito", Arial, sans-serif; color: #FFE08A; }
  .acc-form.acc-deja::before { display: none; }
  .acc-form input { height: 50px; min-height: 50px; font: 700 17px "Nunito", Arial, sans-serif; letter-spacing: 0; padding: 0 14px; text-align: left; border-radius: 14px; border-width: 2px; }
  .acc-form input:-webkit-autofill, .acc-form input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: #3B2340; caret-color: #3B2340; }
  .acc-bouton, body.tc .acc-bouton { font-size: 19px; padding: 14px 16px; margin-top: 2px; box-shadow: 0 4px 0 #7E1752, 0 0 18px rgba(255,120,190,.45); }
  .acc-bonjour span { font-size: 13px; }
  .acc-bonjour b { font-size: 24px; }
  .acc-bouton.acc-retrouver, body.tc .acc-bouton.acc-retrouver { font-size: 18px; }
  .acc-lien-petit, body.tc .acc-lien-petit { font-size: 13.5px; padding: 6px; }
  .acc-inscription { margin-top: 12px; }
}
