/* Portail Dibsoft Hôtels — complète admin.css (formulaires, cartes, tableaux, boutons) */
body.portail { background: #f7f4ee; color: #1d211f; font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 17px; }
.portail h1, .portail h2, .portail h3 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.01em; }
.portail h1 { font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.08; margin: 0 0 16px; }
.portail h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 12px; }
.p-wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.portail .btn { min-height: 46px; padding: 0 20px; font-size: 1rem; }

.p-entete { position: sticky; top: 0; z-index: 20; background: rgba(247,244,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #e4ddd0; }
.p-entete-in { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.p-marque { display: flex; align-items: center; gap: 10px; font: 700 1.15rem 'Fraunces', serif; color: #1d211f; text-decoration: none; margin-right: auto; }
.p-logo { width: 34px; height: 34px; border-radius: 8px; background: #0F5C4D; color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.p-nav { display: none; gap: 22px; }
.p-nav a { color: #1d211f; text-decoration: none; }
.p-nav a[aria-current] { color: #0F5C4D; font-weight: 600; }
@media (min-width: 760px) { .p-nav { display: flex; } }
@media (max-width: 480px) { .p-entete .btn { padding: 0 12px; font-size: .9rem; } }

.p-heros { padding: 64px 0 56px; background: radial-gradient(1200px 400px at 80% 0%, #e2efe9 0%, transparent 70%); }
.p-heros-in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .p-heros-in { grid-template-columns: 1.15fr 1fr; } }
.p-heros p.lead { font-size: 1.2rem; color: #4d5652; max-width: 46ch; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.p-maquette { background: #fff; border: 1px solid #e4ddd0; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); }
.p-maquette-barre { display: flex; gap: 6px; padding: 10px 12px; background: #f1ede5; border-bottom: 1px solid #e4ddd0; font-size: .8rem; color: #6b655c; align-items: center; }
.p-maquette-barre i { width: 9px; height: 9px; border-radius: 50%; background: #d8d0c2; display: inline-block; }
.p-maquette-heros { height: 150px; background: linear-gradient(135deg, #0F5C4D, #2f8a73); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.p-maquette-heros b { font: 700 1.4rem 'Fraunces', serif; }
.p-maquette-corps { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-maquette-corps div { height: 70px; border-radius: 8px; background: #efe9de; }

.p-section { padding: 56px 0; }
.p-section-alt { background: #fff; border-block: 1px solid #ebe5da; }
.p-surtitre { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #6b655c; font-weight: 700; margin: 0 0 8px; }
.p-etapes { display: grid; gap: 16px; counter-reset: e; list-style: none; padding: 0; margin: 24px 0 0; }
@media (min-width: 760px) { .p-etapes { grid-template-columns: repeat(3, 1fr); } }
.p-etapes li { background: #fff; border: 1px solid #e4ddd0; border-radius: 12px; padding: 20px; counter-increment: e; }
.p-etapes li::before { content: counter(e); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0F5C4D; color: #fff; font-weight: 700; margin-bottom: 10px; }
.p-etapes b { display: block; margin-bottom: 4px; }

.p-offre { display: grid; gap: 24px; }
@media (min-width: 900px) { .p-offre { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.p-liste-ok { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.p-liste-ok li { padding-left: 28px; position: relative; }
.p-liste-ok li::before { content: "✓"; position: absolute; left: 0; color: #0F5C4D; font-weight: 700; }
.p-prix { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.p-prix div { background: #f7f4ee; border: 1px solid #e4ddd0; border-radius: 10px; padding: 14px; }
.p-prix b { display: block; font-size: 1.2rem; white-space: nowrap; }
.p-prix span { color: #6b655c; font-size: .9rem; }
.p-essai { background: #e3f3e8; color: #1d6b3a; padding: 10px 14px; border-radius: 8px; font-weight: 600; margin: 0 0 14px; }
.p-bientot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.p-bientot span { border: 1px dashed #cfc6b6; border-radius: 99px; padding: 4px 12px; font-size: .88rem; color: #6b655c; }

.p-hotels { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.p-hotel { background: #fff; border: 1px solid #e4ddd0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.p-hotel:hover { box-shadow: 0 10px 24px -16px rgba(0,0,0,.35); }
.p-hotel-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #0F5C4D, #3d9a82); object-fit: cover; width: 100%; }
.p-hotel-corps { padding: 14px 16px 18px; }
.p-hotel-corps b { font: 700 1.1rem 'Fraunces', serif; display: block; }
.p-hotel-corps span { color: #6b655c; font-size: .92rem; }
.p-filtre { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; align-items: end; }
.p-filtre .champ { min-width: 220px; }

.p-form { max-width: 820px; }
.p-form fieldset { border: 1px solid #e4ddd0; border-radius: 12px; padding: 8px 20px 20px; margin: 0 0 18px; background: #fff; display: grid; gap: 14px; }
.p-form legend { font: 700 1.1rem 'Fraunces', serif; padding: 0 6px; }
.p-adresse { display: flex; align-items: stretch; }
.p-adresse input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.p-adresse span { display: flex; align-items: center; padding: 0 12px; background: #f1ede5; border: 1px solid #c9d0cc; border-left: 0; border-radius: 0 6px 6px 0; color: #4d5652; white-space: nowrap; font-size: .95rem; }
.p-dispo { font-size: .88rem; margin: 2px 0 0; min-height: 1.2em; }
.p-dispo.ok { color: #1d6b3a; } .p-dispo.ko { color: #a8261a; }
.p-durees { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.p-durees label { border: 1.5px solid #ddd5c6; border-radius: 10px; padding: 12px; cursor: pointer; display: block; font-weight: 400; }
.p-durees label:has(input:checked) { border-color: #0F5C4D; background: #eef6f2; }
.p-durees b { display: block; font-size: 1.1rem; }
.p-total { display: flex; justify-content: space-between; align-items: center; background: #16302a; color: #fff; border-radius: 10px; padding: 14px 18px; font-size: 1.1rem; }
.p-total b { font-size: 1.4rem; }
.piege { position: absolute; left: -5000px; }

.p-recu { background: #fff; border: 1px solid #e4ddd0; border-radius: 12px; padding: 20px; }
.p-ref { font: 700 1.3rem ui-monospace, Menlo, Consolas, monospace; background: #f1ede5; padding: 4px 10px; border-radius: 6px; }
.p-numeros { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin: 12px 0; }
.p-numeros div { border: 1px solid #e4ddd0; border-radius: 10px; padding: 12px; background: #faf8f4; }
.p-numeros b { display: block; font-size: 1.15rem; }

.p-pied { background: #16302a; color: #cfe0da; padding: 32px 0 40px; margin-top: 48px; }
.p-pied a { color: #fff; }
.p-pied-in { display: grid; gap: 16px; }
@media (min-width: 760px) { .p-pied-in { grid-template-columns: 1fr 1fr; } }
