/* ==============================
   SERVICES PAGE – Layout fidèle au site Wix
   ============================== */

/* Section container */
.svc {
  max-width: 980px;
  margin: 0 auto 40px;
}

/* Dark title bar (services + galeries) */
.svc-bar, .gal-bar {
  background: var(--dark);
  padding: 22px 24px;
  text-align: center;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.svc-bar::before, .gal-bar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.svc-bar:hover::before, .gal-bar:hover::before {
  opacity: 1;
}

.gal-bar { margin-bottom: 8px; }

.svc-bar h2, .gal-bar h2 {
  font-family: var(--font-din);
  font-size: 25px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.12em;
  margin: 0;
}

.svc-bar.sub, .gal-bar.sub {
  background: rgba(var(--dark-rgb), 0.85);
  margin-top: 10px;
}

.gal-bar.sub { padding: 12px 24px; }

.svc-bar.sub h3, .gal-bar.sub h3 {
  font-family: var(--font-din);
  font-size: 20px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  margin: 0;
}

.gold { color: var(--accent); }

/* Separator line */
.svc-sep {
  border: none;
  height: 4px;
  background: var(--accent);
  max-width: 500px;
  margin: 24px auto 0;
}

/* Body: 2-column layout */
.svc-body.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.svc-body.cols-text-left .svc-text { order: 1; }
.svc-body.cols-text-left .svc-img { order: 2; }
.svc-body.cols-img-left .svc-img { order: 1; }
.svc-body.cols-img-left .svc-text { order: 2; }

.svc-body.cols-img-left {
  grid-template-columns: 55% 45%;
}

.svc-body.cols-text-left {
  grid-template-columns: 45% 55%;
}

/* Text block – fond gris */
.svc-text {
  background: var(--gray-light);
  padding: 28px 32px;
  font-family: var(--font-jura);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  text-align: justify;
}

.svc-text.darker {
  background: var(--gray-mid);
}

.svc-text.full {
  max-width: 100%;
  padding: 28px 32px;
}

.svc-text h3 {
  font-family: var(--font-din);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--dark);
}

.svc-text h4 {
  font-family: var(--font-din);
  font-size: 16px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--dark);
}

.svc-text p {
  margin: 0 0 12px;
}

.svc-text ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
}

.svc-text li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.55;
}

.svc-body + .svc-body {
  margin-top: 8px;
}

.svc-body + .svc-text.full {
  margin-top: 8px;
}

/* Image block */
.svc-img {
  line-height: 0;
  overflow: hidden;
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.svc-img:hover img {
  transform: scale(1.03);
}

/* Bottom text bar */
.svc-bottom-text {
  background: var(--gray-bg);
  margin-top: 6px;
  padding: 18px 32px;
  font-family: var(--font-jura);
  font-size: 14px;
  line-height: 1.65;
  color: var(--dark);
  text-align: justify;
}

.svc-bottom-text p {
  margin: 0;
}

/* Stacked text panels */
.svc-text-stack {
  display: flex;
  flex-direction: column;
}

.svc-text-stack .svc-text {
  flex: 1;
}

.svc-text-stack .svc-text + .svc-text {
  border-top: 1px solid var(--gray-line);
}

/* ==============================
   PAGE HERO (titre sombre)
   ============================== */
.page-hero {
  background: var(--dark);
  padding: 24px 0;
  text-align: center;
  max-width: 980px;
  margin: 10px auto 16px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

.page-title {
  font-family: var(--font-din);
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.page-title .highlight,
.page-title .gold {
  color: var(--accent);
}

/* ==============================
   PAGE RÉALISATIONS – grille d'accueil
   ============================== */
.real-grid {
  max-width: 980px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.real-card {
  position: relative;
  overflow: hidden;
  line-height: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.real-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.real-card:hover img {
  transform: scale(1.06);
}

.real-card .real-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 32px 16px 14px;
  font-family: var(--font-din);
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
  transition: padding-bottom var(--transition-fast);
}

.real-card:hover .real-label {
  padding-bottom: 18px;
}

/* ==============================
   SOUS-PAGES RÉALISATIONS – galeries photo
   ============================== */
.gal {
  max-width: 980px;
  margin: 10px auto 40px;
}

.gal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px 0;
  font-family: var(--font-din);
  font-size: 15px;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.gal-link:hover { color: var(--accent-hover); }

.gal-row {
  display: grid;
  gap: 6px;
  line-height: 0;
  margin-bottom: 6px;
}

.gal-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gal-row img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.gal-row-wide {
  grid-template-columns: 1fr;
}

.gal-row-wide img {
  max-height: 550px;
}

.gal-row-2 {
  grid-template-columns: 1fr 1fr;
}

.gal-row-2.tall img {
  max-height: 700px;
}

.gal-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gal-row-4 {
  grid-template-columns: repeat(2, 1fr);
}

.gal-row-6 {
  grid-template-columns: repeat(3, 1fr);
}

.gal-row-1-2 {
  grid-template-columns: 55% 45%;
  grid-template-rows: 1fr 1fr;
}

.gal-row-1-2 .gal-tall {
  grid-row: 1 / 3;
}

.gal-row-2-1 {
  grid-template-columns: 60% 40%;
}

.gal-testimonials {
  padding: 40px 36px;
  background: var(--gray-bg-lighter);
  margin-top: 10px;
  border-radius: var(--radius-md);
}

.gal-testimonial {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ddd;
}

.gal-testimonial:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.gal-testimonial blockquote {
  font-family: var(--font-jura);
  font-size: 14px;
  line-height: 1.75;
  color: var(--dark);
  font-style: italic;
  margin: 0 0 10px;
  padding: 0;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.gal-testimonial cite {
  font-family: var(--font-din);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  font-style: normal;
  padding-left: 20px;
}

/* ==============================
   PAGE LÉGISLATION
   ============================== */
.law-box {
  max-width: 980px;
  margin: 0 auto 40px;
  background: var(--gray-light);
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.law-box-inner {
  padding: 40px 44px;
}

.law-article {
  padding: 24px 0;
}

.law-heading {
  font-family: var(--font-jura);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.3;
}

.law-article .law-ref {
  font-weight: 400;
  font-size: 15px;
  color: var(--gray-muted);
}

.law-article p {
  font-family: var(--font-jura);
  font-size: 17px;
  line-height: 1.5;
  color: var(--dark);
  margin: 0 0 14px;
  text-align: justify;
}

.law-article p:last-child {
  margin-bottom: 0;
}

.law-sep {
  border: none;
  height: 2px;
  background: var(--accent);
  margin: 0;
}

.law-image {
  max-width: 980px;
  margin: 0 auto 40px;
  line-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.law-image img {
  width: 100%;
  display: block;
}

/* ==============================
   PAGE DEVIS / CONTACT
   ============================== */
.contact-section {
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 0;
}

.contact-intro {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 680px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* --- Formulaire --- */
.contact-form {
  display: flex;
  flex-direction: column;
}

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cf-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-group {
  position: relative;
}

.cf-group label {
  display: block;
  font-family: var(--font-jura);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cf-group input,
.cf-message textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cf-group input:focus,
.cf-message textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.cf-group input::placeholder,
.cf-message textarea::placeholder {
  color: var(--gray-text);
  font-weight: 400;
}

.cf-message {
  position: relative;
}

.cf-message label {
  display: block;
  font-family: var(--font-jura);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cf-message textarea {
  height: 100%;
  min-height: 200px;
  resize: vertical;
  border-radius: var(--radius-sm);
}

.cf-submit-row {
  margin-top: 20px;
  text-align: right;
}

.btn-submit {
  display: inline-block;
  padding: 15px 52px;
  font-family: var(--font-din);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --- Carte info contact --- */
.contact-info-card {
  background: var(--dark);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}

.contact-info-card h3 {
  font-family: var(--font-din);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.ci-separator {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 28px;
}

.ci-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #ccc;
}

.ci-row:last-child {
  margin-bottom: 0;
}

.ci-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.ci-row a {
  color: #ccc;
  transition: color var(--transition-fast);
}

.ci-row a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* --- Alertes formulaire --- */
.form-alert {
  max-width: 980px;
  margin: 0 0 24px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  border-left: 4px solid;
  border-radius: var(--radius-sm);
  animation: alertSlideIn 0.4s ease;
}

@keyframes alertSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-alert-success {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.form-alert-error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}

/* Responsive pages : centralisé dans responsive.css */
