/**
 * Giulio Création — page-contact.css
 * Styles spécifiques à la page Contact
 */

.contact-section { padding: 6rem 4rem; max-width: 1300px; margin: 0 auto; }
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 5rem;
	align-items: start;
}

.contact-info-col h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2rem; font-weight: 500;
	margin-bottom: 1.5rem;
}
.contact-info-col h2 em { font-style: italic; color: var(--sage-dark); font-weight: 400; }
.contact-info-col > p {
	color: var(--gray); line-height: 1.7;
	margin-bottom: 2.5rem;
}
.contact-info-col > p a {
	color: var(--sage-dark);
	text-decoration: underline;
	text-decoration-color: var(--sage-light);
	text-underline-offset: 3px;
}
.contact-block { margin-bottom: 2.2rem; }
.contact-block h3 {
	font-size: 0.72rem; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--gray-light);
	font-weight: 500; margin-bottom: 0.7rem;
}
.contact-block p, .contact-block a {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.25rem; color: var(--black);
	line-height: 1.4; transition: color 0.2s;
}
.contact-block a:hover { color: var(--sage-dark); }
.contact-block .secondary {
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem; color: var(--gray);
	margin-top: 0.4rem; line-height: 1.5;
}

.contact-engagements {
	background: var(--sage-pale);
	border: 1px solid var(--border-soft);
	border-radius: 4px;
	padding: 2rem;
	margin-top: 2.5rem;
}
.engagements-list { list-style: none; padding: 0; margin: 0; }
.engagements-list li {
	display: flex; gap: 0.8rem;
	align-items: flex-start;
	padding: 0.6rem 0;
	font-size: 0.92rem; color: var(--gray);
}
.engagements-list li svg {
	width: 14px; height: 14px;
	stroke: var(--sage-dark); fill: none; stroke-width: 2;
	flex-shrink: 0; margin-top: 0.3rem;
}
.engagements-list li strong { color: var(--black); font-weight: 500; }

/* ============================================================
   FORMULAIRE (partagé entre Contact et Devis)
   ============================================================ */
.contact-form, .devis-form {
	background: var(--white);
	border: 1px solid var(--border-soft);
	border-radius: 4px;
	padding: 3rem;
}
.form-header {
	display: flex; align-items: baseline; gap: 1rem;
	margin-bottom: 2rem; padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--border-soft);
}
.form-header h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem; font-weight: 500;
}
.form-header h3 em { font-style: italic; color: var(--sage-dark); font-weight: 400; }
.field { margin-bottom: 1.4rem; }
.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.field label {
	display: block;
	font-size: 0.85rem;
	color: var(--gray);
	margin-bottom: 0.5rem;
	font-weight: 500;
}
.field label .optional {
	color: var(--gray-light);
	font-weight: 400;
	font-size: 0.78rem;
	margin-left: 0.4rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
	width: 100%;
	padding: 0.85rem 1rem;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 3px;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--black);
	transition: all 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: none;
	border-color: var(--sage);
	background: var(--sage-pale);
}
.field textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.6;
}
.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6350' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 14px;
	padding-right: 2.5rem;
}
.form-submit {
	display: flex; align-items: center;
	justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap;
	margin-top: 1.5rem;
}
.form-disclaimer {
	font-size: 0.78rem;
	color: var(--gray-light);
	line-height: 1.5;
	flex: 1;
	min-width: 240px;
}
.form-disclaimer a {
	color: var(--sage-dark);
	text-decoration: underline;
	text-decoration-color: var(--sage-light);
	text-underline-offset: 3px;
}
.form-success {
	text-align: center;
	padding: 3rem 1rem;
}
.form-success h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: var(--sage-dark);
	font-weight: 500;
}
.form-success p { color: var(--gray); }

/* ============================================================
   DEVIS PROMPT (call-to-action vers la page devis depuis contact)
   ============================================================ */
.devis-prompt {
	background: var(--black); color: var(--white);
	padding: 6rem 4rem;
	text-align: center;
	position: relative; overflow: hidden;
}
.devis-prompt::before {
	content: ''; position: absolute;
	top: 50%; left: 50%; transform: translate(-50%,-50%);
	width: 700px; height: 700px;
	background: radial-gradient(circle, rgba(138,158,138,0.1) 0%, transparent 70%);
	pointer-events: none;
}
.devis-prompt-inner {
	max-width: 720px; margin: 0 auto;
	position: relative; z-index: 1;
}
.devis-prompt-inner h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 300; line-height: 1.2;
	margin-bottom: 1.5rem; color: var(--white);
}
.devis-prompt-inner h2 em { font-style: italic; color: var(--sage-light); font-weight: 400; }
.devis-prompt-inner p {
	color: rgba(255,255,255,0.65);
	font-size: 1.05rem; line-height: 1.7;
	margin-bottom: 2.5rem;
	max-width: 540px;
	margin-left: auto; margin-right: auto;
}

/* ============================================================
   DEVIS — sections de formulaire (multi-étapes verticales)
   ============================================================ */
.devis-section {
	padding: 4rem 4rem;
	max-width: 900px; margin: 0 auto;
}
.devis-intro {
	font-size: 1.05rem; color: var(--gray);
	line-height: 1.7;
	max-width: 700px; margin: 0 auto 3rem;
	text-align: center;
}
.devis-fieldset {
	background: var(--white);
	border: 1px solid var(--border-soft);
	border-radius: 4px;
	padding: 2.5rem;
	margin-bottom: 1.5rem;
	position: relative;
}
.devis-fieldset legend {
	position: absolute; top: -12px; left: 1.5rem;
	background: var(--white);
	padding: 0 0.8rem;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sage-dark);
	font-weight: 500;
}
.devis-fieldset h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5rem; font-weight: 500;
	margin-bottom: 0.5rem;
}
.devis-fieldset h3 em { font-style: italic; color: var(--sage-dark); font-weight: 400; }
.devis-fieldset > p {
	color: var(--gray); font-size: 0.95rem;
	margin-bottom: 1.8rem; line-height: 1.6;
}

/* Checkboxes pour les services demandés */
.checkbox-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
}
.checkbox-card {
	display: flex; align-items: flex-start;
	gap: 0.7rem; padding: 0.9rem 1rem;
	border: 1px solid var(--border);
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.2s;
}
.checkbox-card:hover { border-color: var(--sage); background: var(--sage-pale); }
.checkbox-card input { margin-top: 0.2rem; flex-shrink: 0; cursor: pointer; }
.checkbox-card input:checked + .checkbox-label { color: var(--sage-deep); font-weight: 500; }
.checkbox-card:has(input:checked) { border-color: var(--sage-dark); background: var(--sage-pale); }
.checkbox-label {
	font-size: 0.92rem;
	color: var(--gray);
	transition: color 0.2s;
	line-height: 1.4;
}

/* Radios pour le budget */
.radio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.6rem;
}
.radio-card {
	border: 1px solid var(--border);
	border-radius: 3px;
	padding: 0.9rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
	font-size: 0.92rem;
	color: var(--gray);
}
.radio-card:hover { border-color: var(--sage); background: var(--sage-pale); }
.radio-card input { display: none; }
.radio-card:has(input:checked) {
	border-color: var(--sage-dark);
	background: var(--sage-dark);
	color: var(--white);
	font-weight: 500;
}

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal-content {
	padding: 5rem 4rem 7rem;
	max-width: 900px;
	margin: 0 auto;
}
.legal-content h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.9rem; font-weight: 500;
	margin: 3rem 0 1.2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-soft);
	letter-spacing: -0.005em;
}
.legal-content h2:first-child {
	padding-top: 0; border-top: none; margin-top: 0;
}
.legal-content h2 em { font-style: italic; color: var(--sage-dark); font-weight: 400; }
.legal-content h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.35rem; font-weight: 500;
	margin: 2rem 0 0.8rem;
}
.legal-content p {
	color: var(--gray);
	margin-bottom: 1.2rem;
	line-height: 1.75;
	font-size: 0.97rem;
}
.legal-content p strong { color: var(--black); font-weight: 500; }
.legal-content ul {
	margin-bottom: 1.2rem;
	padding-left: 1.5rem;
}
.legal-content li {
	color: var(--gray);
	margin-bottom: 0.5rem;
	line-height: 1.7;
	font-size: 0.97rem;
}
.legal-content a {
	color: var(--sage-dark);
	text-decoration: underline;
	text-decoration-color: var(--sage-light);
	text-underline-offset: 3px;
	transition: color 0.2s;
}
.legal-content a:hover { color: var(--sage-deep); }
.legal-info-block {
	background: var(--sage-pale);
	border-left: 3px solid var(--sage-dark);
	padding: 1.5rem 1.8rem;
	border-radius: 2px;
	margin: 1.5rem 0;
}
.legal-info-block p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.legal-info-block p:last-child { margin-bottom: 0; }
.updated-date {
	font-size: 0.85rem;
	color: var(--gray);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
	.contact-section { padding: 4rem 1.5rem; }
	.contact-grid { grid-template-columns: 1fr; gap: 2rem; }
	.contact-form, .devis-form { padding: 2rem 1.5rem; }
	.field-row { grid-template-columns: 1fr; }
	.devis-prompt { padding: 5rem 1.5rem; }
	.devis-section { padding: 3rem 1.5rem; }
	.devis-fieldset { padding: 2rem 1.5rem; }
	.checkbox-grid { grid-template-columns: 1fr; }
	.radio-grid { grid-template-columns: 1fr; }
	.legal-content { padding: 3rem 1.5rem 5rem; }
}
