/*
Theme Name: Drone Prestige
Description: Thème enfant de Drone Services pour Drone Prestige, nettoyage de toitures et façades par drone.
Template: drone-services
Version: 1.0
Text Domain: drone-prestige
*/

/* Logo texte */
.dp-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.dp-brand img { width: 38px; height: 38px; display: block; }
.dp-brand span { font-family: var(--ds-display); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: #fff; line-height: 1; }
.dp-brand span b { font-weight: 500; color: #9BE07A; display: block; font-size: 10.5px; letter-spacing: .24em; margin-top: 5px; }

/* Section devis */
.dp-devis-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; margin-top: 52px; }
.dp-devis-side { background: var(--ds-g-navy); color: #fff; border-radius: 22px; padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.dp-devis-side::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(63,151,242,.45), transparent 70%); }
.dp-devis-side h3 { color: #fff; margin: 0; }
.dp-devis-side p { color: rgba(255,255,255,.78); margin: 0; }
.dp-devis-side ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 14px; position: relative; z-index: 2; }
.dp-devis-side li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.9); }
.dp-devis-side li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat, var(--ds-g-leaf); }
.dp-devis-tel { margin-top: auto !important; position: relative; z-index: 2; font-family: var(--ds-display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); color: #fff !important; }
.dp-devis-tel a { color: #fff; text-decoration: none; }
.dp-devis-tel small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #9BE07A; margin-bottom: 4px; }

.dp-form { background: #fff; border: 1px solid var(--ds-line); border-radius: 22px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 24px 60px -30px rgba(10,37,64,.28); }
.dp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.dp-full { grid-column: 1 / -1; }
.dp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dp-field label, .dp-field .dp-lbl { font-family: var(--ds-display); font-weight: 600; font-size: 13.5px; color: var(--ds-ink); }
.dp-field label i { color: #d33; font-style: normal; }
.dp-field input[type=text], .dp-field input[type=email], .dp-field input[type=tel], .dp-field select, .dp-field textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 15.5px; color: var(--ds-ink); background: #F7FAFE;
	border: 1.5px solid #D9E4F2; border-radius: 12px; padding: 13px 15px; transition: .2s; appearance: none; -webkit-appearance: none;
}
.dp-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231257A8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.dp-field textarea { min-height: 130px; resize: vertical; }
.dp-field input:focus, .dp-field select:focus, .dp-field textarea:focus { outline: none; border-color: var(--ds-blue); background: #fff; box-shadow: 0 0 0 4px rgba(43,132,230,.15); }

.dp-drop { position: relative; border: 2px dashed #B9D2F0; border-radius: 16px; background: linear-gradient(180deg, #F7FBFF, #EEF5FE); padding: 26px 20px; text-align: center; transition: .2s; cursor: pointer; }
.dp-drop:hover, .dp-drop.is-over { border-color: var(--ds-blue); background: #EAF3FE; }
.dp-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dp-drop strong { display: block; font-family: var(--ds-display); color: var(--ds-blue-dk); font-size: 15.5px; }
.dp-drop span { display: block; margin-top: 4px; font-size: 13px; color: var(--ds-muted); }
.dp-drop svg { width: 34px; height: 34px; margin: 0 auto 8px; display: block; }
.dp-files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.dp-files li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; background: #fff; border: 1px solid var(--ds-line); border-radius: 10px; padding: 8px 12px; }
.dp-files li em { color: var(--ds-muted); font-style: normal; white-space: nowrap; }

.dp-check { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ds-muted); line-height: 1.5; }
.dp-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ds-blue); flex: none; }
.dp-submit { appearance: none; border: 0; cursor: pointer; font-family: var(--ds-display); font-weight: 700; font-size: 16px; color: #fff; background: var(--ds-g-blue); border-radius: 100px; padding: 16px 34px; transition: .25s; box-shadow: 0 14px 30px -14px rgba(18,87,168,.8); }
.dp-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(18,87,168,.9); }
.dp-submit[disabled] { opacity: .6; cursor: wait; transform: none; }
.dp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dp-note { grid-column: 1 / -1; border-radius: 14px; padding: 15px 18px; font-size: 15px; margin-bottom: 18px; }
.dp-note.ok { background: #EAF8E4; color: #28621c; border: 1px solid #BFE5B0; }
.dp-note.err { background: #FDECEC; color: #8a1f1f; border: 1px solid #F2BDBD; }
.dp-note ul { margin: 6px 0 0 18px; padding: 0; }

.dp-fleet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.dp-fleet figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--ds-line); background: #fff; box-shadow: 0 24px 60px -34px rgba(10,37,64,.4); }
.dp-fleet img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.dp-fleet figure { aspect-ratio: 16 / 9; }
#avantages .ds-grid3 { margin-top: 44px; }

@media (max-width: 900px) {
	.dp-devis-wrap, .dp-fleet { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dp-grid { grid-template-columns: 1fr; }
}

/* Grille 4 colonnes → 2 → 1, et titres plus lisibles sur mobile */
.dp-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .dp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.dp-grid4 { grid-template-columns: 1fr; }
	.ds-section h2 { letter-spacing: -.02em; word-spacing: .04em; line-height: 1.15; }
	.dp-fleet { gap: 16px; margin-top: 32px; }
	.dp-fleet figure { aspect-ratio: 16 / 10; }
}

/* Bannière vidéo : voile neutre et léger à la place du dégradé bleu */
.dp-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(6,20,36,.55) 0%, rgba(6,20,36,.12) 26%, rgba(6,20,36,.18) 55%, rgba(6,20,36,.72) 100%) !important; opacity: 1 !important; }
.dp-hero .wp-block-cover__background::before { display: none !important; }
.dp-hero::after { opacity: .18; }
.dp-hero .wp-block-cover__video-background { object-fit: cover; }
.dp-hero .ds-hero-title, .dp-hero .ds-hero-text { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
@media (prefers-reduced-motion: reduce) { .dp-hero .wp-block-cover__video-background { display: none; } .dp-hero { background: #0b2238 url('assets/images/vehicule-citroen.jpg') center / cover; } }

/* Vidéo « en action » */
.dp-video { margin-top: 44px; border-radius: 22px; overflow: hidden; background: #0A2540; box-shadow: 0 30px 70px -36px rgba(10,37,64,.6); border: 1px solid var(--ds-line); }
.dp-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0A2540; }
.dp-hero .ds-hero-title em { background: none !important; -webkit-text-fill-color: #A6E889 !important; color: #A6E889 !important; font-style: normal; }

/* Bannière : texte et boutons à gauche, vidéo dégagée à droite */
.dp-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(6,20,36,.78) 0%, rgba(6,20,36,.62) 28%, rgba(6,20,36,.12) 58%, rgba(6,20,36,0) 100%), linear-gradient(180deg, rgba(6,20,36,.45) 0%, rgba(6,20,36,0) 22%) !important; }
.dp-hero .ds-hero-mid { align-items: flex-start; text-align: left; }
.dp-hero .ds-hero-mid > * { text-align: left; }
.dp-hero .ds-hero-title { max-width: 14ch; text-align: left; }
.dp-hero .ds-hero-text { max-width: 520px; text-align: left; }
.dp-hero .ds-hero-cta.wp-block-buttons { justify-content: flex-start !important; }
.dp-hero .ds-hero-foot, .dp-hero .ds-chip, .dp-hero::after { display: none !important; }
@media (max-width: 782px) {
	.dp-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(6,20,36,.55) 0%, rgba(6,20,36,.55) 100%) !important; }
	.dp-hero .ds-hero-title { max-width: none; }
}
@media (max-width: 782px) { .dp-hero .wp-block-cover__image-background { object-position: 62% center !important; } }
