/*
Template: quote-request.css
Version: 1.0.0
Author: Perspective3 Studio
*/

/* Section: Devis (hero, formulaire multi-champs, recap) */
 :root { --p3s-quote-white:#f8f9ff; --p3s-quote-ink:#1d2347; --p3s-quote-soft-ink:#4a4f71; --p3s-quote-border:rgba(76, 88, 153, 0.24); --p3s-quote-header-h:86px; }
body { background:radial-gradient(1200px 800px at 70% 10%, rgba(90, 30, 130, 0.55), transparent 55%), radial-gradient(900px 700px at 35% 30%, rgba(0, 120, 190, 0.35), transparent 60%), linear-gradient(90deg, #061828 0%, #071c2a 55%, #1a1430 100%); }
.p3s-quote { color:var(--p3s-quote-white); padding-bottom:90px; }
body.page-template-page-quote-request .p3s-quote { margin-top:calc(-1 * var(--p3s-quote-header-h)); }
body.page-template-page-quote-request .p3s-quote__hero { padding-top:var(--p3s-quote-header-h); }
body.admin-bar.page-template-page-quote-request { --p3s-quote-header-h:118px; }
body.page-template-page-quote-request .site-header { position:relative; z-index:30; background:rgba(8, 19, 47, 0.34); backdrop-filter:blur(6px); border-bottom:1px solid rgba(255, 255, 255, 0.12); }
.p3s-quote__hero { width:100vw; margin-left:calc(50% - 50vw); min-height:clamp(420px, 56vw, 560px); position:relative; background-size:cover; background-position:center; overflow:hidden; }
.p3s-quote__hero::before { position:absolute; inset:0; content:''; background:radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.25) 0.6px, transparent 1.4px), radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.22) 0.7px, transparent 1.6px), radial-gradient(circle at 62% 66%, rgba(255, 255, 255, 0.2) 0.6px, transparent 1.3px), radial-gradient(1100px 540px at 80% 10%, rgba(233, 98, 221, 0.34), transparent 64%), radial-gradient(900px 520px at 20% 100%, rgba(104, 148, 255, 0.24), transparent 65%); pointer-events:none; }
.p3s-quote__hero-inner { position:absolute; bottom:4vh; left:50%; transform:translateX(-50%); z-index:1; width:min(1180px, calc(100% - 48px)); padding:0 4vw; }
.p3s-quote__kicker { display:inline-block; position:relative; padding-left:18px; font-size:12px; letter-spacing:0.2em; text-transform:uppercase; color:rgba(248, 249, 255, 0.84); }
.p3s-quote__kicker::before { content:''; position:absolute; left:0; top:7px; width:6px; height:6px; border-radius:999px; background:#00d1b2; box-shadow:0 0 0 4px rgba(0, 209, 178, 0.14); }
.p3s-quote__kicker::after { content:''; position:absolute; left:-14vw; top:8px; width:14vw; height:2px; border-radius:999px; background:linear-gradient(90deg, rgba(46, 91, 255, 0) 0%, rgba(46, 91, 255, 0.55) 35%, rgba(0, 209, 178, 0.75) 100%); }
.p3s-quote h1 { margin:2vh 0 0; font-size:clamp(34px, 5.3vw, 66px); line-height:1.05; letter-spacing:-0.02em; max-width:80vw; }
.p3s-quote__lead { margin-top:18px; max-width:60ch; line-height:1.8; color:rgba(248, 249, 255, 0.86); font-size:clamp(15px, 1.2vw, 19px); }
.p3s-quote__hero-cta { margin-top:20px; display:inline-flex; min-height:48px; font-size:20px; }
.p3s-quote__section { position:relative; width:100vw; margin-left:calc(50% - 50vw); padding:clamp(56px, 7vw, 88px) 0; color:var(--p3s-quote-ink); z-index:1; }
.p3s-quote__section::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(900px 380px at 95% 5%, rgba(206, 164, 255, 0.2), transparent 66%), radial-gradient(700px 350px at 5% 70%, rgba(154, 184, 255, 0.2), transparent 65%), linear-gradient(180deg, rgba(247, 245, 255, 0.62) 0%, rgba(239, 235, 255, 0.62) 100%); }
.p3s-quote__section-head, .p3s-quote__form-card, .p3s-quote__notice { width:min(1180px, calc(100% - 48px)); margin-left:auto; margin-right:auto; }
.p3s-quote__section-head h2 { margin:0; font-size:clamp(34px, 4.3vw, 55px); }
.p3s-quote__section-head p { margin:10px 0 0; color:var(--p3s-quote-soft-ink); font-size:clamp(16px, 1.2vw, 20px); }
.p3s-quote__notice { margin-top:14px; border-radius:10px; padding:12px 14px; font-size:16px; }
.p3s-quote__notice--success { background:rgba(12, 168, 120, 0.12); border:1px solid rgba(12, 168, 120, 0.35); }
.p3s-quote__notice--warn { background:rgba(190, 137, 8, 0.12); border:1px solid rgba(190, 137, 8, 0.35); }
.p3s-quote__notice--error { background:rgba(194, 53, 53, 0.12); border:1px solid rgba(194, 53, 53, 0.35); }
.p3s-quote__form-card { margin-top:22px; border:1px solid var(--p3s-quote-border); border-radius:12px; background:linear-gradient(180deg, rgba(249, 249, 255, 0.98), rgba(242, 241, 255, 0.96)); box-shadow:0 20px 42px rgba(77, 53, 151, 0.12); padding:22px; }
.p3s-quote__fieldset { margin:0; padding:0; border:0; }
.p3s-quote__fieldset + .p3s-quote__fieldset { margin-top:22px; padding-top:20px; border-top:1px solid rgba(76, 88, 153, 0.24); }
.p3s-quote__fieldset legend { margin:0 0 10px; color:#232b55; font-size:24px; font-weight:700; }
.p3s-quote__grid { display:grid; gap:14px; }
.p3s-quote__grid--2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.p3s-quote__full { grid-column:1 / -1; }
.p3s-quote__form-card label { display:block; margin:0 0 6px; font-size:16px; color:#2e3661; }
.p3s-quote__field-help { margin:-2px 0 8px; color:#4b5684; font-size:14px; line-height:1.5; }
.p3s-quote__form-card input[type="text"], .p3s-quote__form-card input[type="email"], .p3s-quote__form-card input[type="url"], .p3s-quote__form-card input[type="date"], .p3s-quote__form-card select, .p3s-quote__form-card textarea { width:100%; min-height:46px; border-radius:9px; border:1px solid rgba(106, 114, 165, 0.35); background:rgba(255, 255, 255, 0.64); padding:10px 12px; font-size:16px; color:#252c54; outline:none; }
.p3s-quote__form-card textarea { min-height:120px; resize:vertical; }
.p3s-quote__form-card input:focus, .p3s-quote__form-card select:focus, .p3s-quote__form-card textarea:focus { border-color:rgba(0, 209, 178, 0.72); box-shadow:0 0 0 3px rgba(0, 209, 178, 0.14); }
.p3s-quote__check-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.p3s-quote__check-item { margin:0; display:grid; grid-template-columns:18px 1fr; gap:10px; align-items:start; }
.p3s-quote__check-item input[type="checkbox"] { margin-top:3px; }
.p3s-quote__check-item span { color:#3f4a76; line-height:1.5; }
.p3s-quote__radio-row { display:flex; gap:20px; min-height:46px; align-items:center; }
.p3s-quote__radio-row label { margin:0; display:inline-flex; gap:8px; align-items:center; }
.p3s-quote__radio-question { white-space:nowrap; }
.p3s-quote__consent { margin-top:18px; display:grid !important; grid-template-columns:20px 1fr; gap:10px; align-items:start; }
.p3s-quote__consent input[type="checkbox"] { margin-top:3px; }
.p3s-quote__consent span { color:#3f4a76; line-height:1.5; }
.p3s-quote__consent a { color:#5a3ad8; }
.p3s-quote__submit { margin-top:18px; width:100%; min-height:52px; border:0; border-radius:10px; color:#fff; font-size:24px; cursor:pointer; background:linear-gradient(90deg, #4b93ef 0%, #4b57d8 45%, #822ec5 100%); }
.p3s-quote__trap { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
body.page-template-page-quote-request { --p3s-quote-header-h:108px; }
body.admin-bar.page-template-page-quote-request { --p3s-quote-header-h:140px; }
.p3s-quote__hero-inner { top:calc(var(--p3s-quote-header-h) + 20px); bottom:auto; }

/* Media queries : desktop (larges ecrans et interactions souris) */

/* Media queries : tablet (tablettes et ecrans intermediaires) */
@media (max-width:900px) { body.page-template-page-quote-request { --p3s-quote-header-h:74px; }body.admin-bar.page-template-page-quote-request { --p3s-quote-header-h:104px; }.p3s-quote__hero-inner, .p3s-quote__section-head, .p3s-quote__form-card, .p3s-quote__notice { width:min(1180px, calc(100% - 28px)); }.p3s-quote__grid--2, .p3s-quote__check-grid { grid-template-columns:1fr; }.p3s-quote__radio-question { white-space:normal; } }
@media (max-width:1100px) { body.page-template-page-quote-request { --p3s-quote-header-h:94px; }body.admin-bar.page-template-page-quote-request { --p3s-quote-header-h:126px; } }
@media (max-width:1100px) { .p3s-quote__hero { min-height:auto; }.p3s-quote__hero-inner { position:relative; left:auto; top:auto; bottom:auto; transform:none; width:min(1180px, calc(100% - 28px)); margin:0 auto; padding:calc(var(--p3s-quote-header-h) + 20px) 4vw 24px; } }

/* Media queries : mobile (petits ecrans) */
@media (max-width:640px) { body.page-template-page-quote-request { --p3s-quote-header-h:90px; }body.admin-bar.page-template-page-quote-request { --p3s-quote-header-h:136px; } }
