/* Pages Contact et Devis */
.form-layout{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(1.4rem,3vw,2.6rem);align-items:start}
.form-layout-single{grid-template-columns:minmax(0,760px);justify-content:center}
.form-box,.coords{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(1.2rem,3vw,2rem)}
.form-box h2,.coords h2{font-size:1.4rem;margin-bottom:1rem}

.field{margin:0 0 1.1rem}
.field label{display:block;font-weight:600;color:var(--navy);margin-bottom:.35rem;font-size:.95rem}
.field .req,.field .opt{font-weight:500;font-size:.8rem;color:var(--muted)}
.field .req,.consent .req{font-size:1.05rem;font-weight:700;color:var(--navy)}
.form-required-note{margin:0 0 1rem;font-size:.95rem;color:var(--muted)}
.field input[type=text],.field input[type=email],.field input[type=tel],.field select,.field textarea{width:100%;font:inherit;color:var(--ink);background:var(--white);border:1px solid #b9c3d6;border-radius:10px;padding:.7em .85em;min-height:46px}
.field textarea{resize:vertical;min-height:140px}
.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid rgba(212,175,55,.45);outline-offset:1px;border-color:var(--navy)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-hint{margin:.2rem 0 .8rem;color:var(--muted);font-size:.9rem}

.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:#b3261e;background:#fff7f6}
.field-error{margin:.3rem 0 0;color:#b3261e;font-size:1rem;font-weight:600}
.error-summary{border:1px solid #b3261e;border-inline-start-width:6px;background:#fff7f6;border-radius:10px;padding:1rem 1.2rem;margin:0 0 1.4rem}
.error-summary h3{margin:0 0 .3rem;font-size:1.05rem;color:#b3261e}
.error-summary p{margin:.2rem 0}
.error-summary ul{margin:.4rem 0 0;padding-inline-start:1.2rem}
.error-summary:focus{outline:3px solid rgba(179,38,30,.35)}

.consent .check{display:flex;gap:.7rem;align-items:flex-start;font-weight:500;cursor:pointer}
.consent input[type=checkbox]{flex:none;width:22px;height:22px;margin-top:.15rem;accent-color:var(--navy)}
.hl{background:#fff4cc;border-radius:6px;padding:.1em .35em}
.privacy-info{margin:1.1rem 0 0;font-size:.88rem;color:var(--ink)}
.form-box .btn-lg{width:100%;white-space:normal}

/* Champ piège anti-spam : invisible pour les visiteurs, laissé à l’écart de l’écran */
.hp{position:absolute!important;inset-inline-start:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

.confirm{text-align:center;padding:1rem 0}
.confirm .why-icon{margin:0 auto 1rem}
.confirm h2{margin-bottom:.5rem}
.confirm p{margin:0 0 1.2rem}

.coords-list{list-style:none;margin:0;padding:0;display:grid;gap:.9rem}
.coords-list li{display:flex;gap:.8rem;align-items:center}
.coords-list .why-icon{flex:none;margin:0}
.coords-list a{color:var(--navy);font-weight:600;text-decoration:none;word-break:break-word}
.coords-list a:hover{text-decoration:underline}
.coords-quote{margin-top:1.6rem;padding-top:1.3rem;border-top:1px solid var(--line)}
.coords-quote h3{font-size:1.1rem;margin-bottom:.3rem}
.coords-quote p{margin:0 0 .9rem}

@media (max-width:980px){.form-layout{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.field-row{grid-template-columns:1fr;gap:0}}

/* Contact : « Nos coordonnées » en marine, motif enveloppe et bulle (validé) */
.page-contact .coords{background-color:var(--navy);border-color:var(--navy);color:#dbe5f5;background-repeat:repeat;background-size:180px 180px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180' fill='none' stroke='%23D4AF37' stroke-opacity='.13' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='24' y='36' width='84' height='58' rx='6'/%3E%3Cpath d='M24 42l42 32 42-32'/%3E%3Cpath d='M112 108h50a8 8 0 0 1 8 8v28a8 8 0 0 1-8 8h-26l-14 12v-12h-10a8 8 0 0 1-8-8v-28a8 8 0 0 1 8-8z'/%3E%3C/svg%3E")}
.page-contact .coords h2,.page-contact .coords h3{color:var(--white)}
.page-contact .coords-list .why-icon{background:rgba(255,255,255,.1)}
.page-contact .coords-list a{color:var(--white)}
.page-contact .coords-quote{border-top-color:rgba(255,255,255,.25)}
.page-contact .coords-quote .btn-navy{background:var(--gold);color:var(--navy)}
.page-contact .coords-quote .btn-navy:hover{filter:brightness(1.05)}
@media (max-width:599px){.page-contact .coords{background-size:130px 130px}}

/* Case de consentement : toute la ligne se clique, zone d’au moins quarante-quatre pixels de haut */
.consent .check{align-items:center;min-height:44px;padding:.25rem 0}

/* Page Devis : espace entre le bandeau du titre et le bloc du devis réduit de moitié (le bandeau ne change pas) */
.section.form-section-quote{padding-top:calc(clamp(3.5rem,7vw,6rem) / 2)}
@media (max-width:599px){body .section.form-section-quote{padding-top:1.2rem}}
