/* ============================
   ROSAS GLOBAL – Design commun
   Couleurs, typo, fond, cartes, boutons
   ============================ */

/* Google Fonts (Lato + Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap');

/* Variables de design */
:root {
  --primary: #3AB7D3;
  --secondary: #F5EFD0;
  --accent: #FF6B6B;
  --dark: #333333;
  --light: #FFFFFF;
  --gray: #666666;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Reset léger */
* {
  box-sizing: border-box;
}

/* Fond général + typo */
body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--secondary);
}

/* Titres génériques */
h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

/* Liens génériques */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* Conteneur générique */
.rosas-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   CARTES GÉNÉRIQUES
   ============================ */

.card {
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 2.5rem auto;
  max-width: 900px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.card-soft {
  background-color: var(--light);
  border-radius: 16px;
  border: 1px solid rgba(58, 183, 211, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  padding: 22px 20px 24px;
  margin-bottom: 18px;
}

/* Variante mobile */
@media (max-width: 640px) {
  .card {
    padding: 18px 16px 18px;
    margin: 1.8rem auto;
  }
}

/* ============================
   BOUTONS CTA (Gutenberg)
   ============================ */

body .wp-block-button .wp-block-button__link,
body .wp-block-buttons .wp-block-button .wp-block-button__link,
body .card .wp-block-button .wp-block-button__link {
  border: none !important;
  background-color: #FF6B6B !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2em !important;
  font-size: 13px !important;
  padding: 10px 26px !important;
  border-radius: 100px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 14px rgba(255, 107, 107, 0.35) !important;
  transition: all 0.15s ease !important;
}

body .wp-block-button .wp-block-button__link:hover,
body .wp-block-buttons .wp-block-button .wp-block-button__link:hover,
body .card .wp-block-button .wp-block-button__link:hover {
  background-color: #3AB7D3 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(58, 183, 211, 0.35) !important;
}

/* ============================
   PAGE ACCUEIL
   ============================ */

.highlight {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #666666;
  margin-bottom: 12px;
}

/* Avantages */
.advantages ul {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
}

.advantages li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.advantages li::before {
  content: "• ";
  color: var(--accent);
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 6px;
}

/* ==================================
   Galerie Gutenberg .gallery
   ================================== */

.card .wp-block-gallery {
  width: 100%;
  max-width: 100%;
  margin: 20px auto 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--primary);
}

.card .wp-block-gallery .wp-block-image {
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    aspect-ratio: 4 / 3;
  }
}

/* Citations */
blockquote {
  font-style: italic;
  text-align: center;
  margin-bottom: 12px;
}

/* ==================================
   PHOTOS – Grille .photos-grid
   ================================== */

.card .photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.card .photos-grid figure.wp-block-image {
  margin: 0;
}

.card .photos-grid img {
  display: block;
  width: 100%;
  height: auto;
  /* aspect-ratio: 4 / 3; */
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--primary);
}

/* Responsive – améliorations */
@media (max-width: 900px) {
  .card .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .card .photos-grid img {
    /* aspect-ratio: 4 / 3; */
  }
}

@media (max-width: 520px) {
  .card .photos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card .photos-grid img {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
}


