/*
 Theme Name:   Neve_child
 Description:  Thème enfant de Neve_FSE
 Author:       BrandS
 Version:      1.0.0
 Template:     neve-fse
 Text Domain:  Neve_child
 License:      GPL-2.0-or-later
*/

/* --- Styles personnalisés pages prestations --- */

/* Conteneur large centré pour les sections */
.wp-block-group.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.wp-block-cover .wp-block-heading.alignwide {
  font-size: 3.2rem;
  line-height: 1.05;
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.wp-block-cover p.has-medium-font-size {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 1.25rem;
}

/* Boutons principaux */
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button.is-style-fill a.wp-block-button__link {
  background: #1155ff;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(17, 85, 255, 0.14);
  text-decoration: none;
  display: inline-block;
}
.wp-block-button__link {
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-3px);
  opacity: 0.98;
}

/* Colonnes et images */
.wp-block-columns.alignwide {
  gap: 36px;
  align-items: center;
}
.wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Titres de section */
.wp-block-heading + p,
.wp-block-heading + .wp-block-buttons {
  margin-top: 0.6rem;
}
.wp-block-heading {
  color: #0b0b0b;
}
.wp-block-heading h2,
.wp-block-heading {
  font-weight: 700;
}

/* CTA strip */
.has-ti-bg-alt-background-color {
  background-color: #f6f7fb !important;
}
.has-ti-bg-alt-background-color .wp-block-heading {
  color: #0b0b0b;
}

/* Responsive: empilement sur petits écrans */
@media (max-width: 780px) {
  .wp-block-columns.alignwide {
    gap: 18px;
    flex-direction: column;
  }
  .wp-block-cover .wp-block-heading.alignwide {
    font-size: 2.2rem;
  }
  .wp-block-button.is-style-fill .wp-block-button__link {
    padding: 12px 20px;
  }
}

/* Small typographic tweaks for paragraphs */
main .wp-block-group p {
  color: #222;
  font-size: 1rem;
  line-height: 1.6;
}

/* Slightly larger callout headings */
.wp-block-heading.has-huge-font-size {
  font-size: 2.4rem;
}

/* Utility spacing */
.wp-block-group.alignwide .wp-block-buttons {
  margin-top: 1rem;
}
