/*
Theme Name: Sabrina Basique Enfant
Theme URI: https://example.com/
Description: Theme enfant du theme "Sabrina Basique" pour personnaliser en toute securite.
Author: Sabrina
Author URI: https://example.com/
Template: sabrina-theme
Version: 1.0.0
Text Domain: sabrina-child
Tags: child-theme
*/

/* Declaration Dream Avenue - placez vos fichiers dans assets/fonts/ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/josefin-sans-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/josefin-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/josefin-sans-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Josefin Sans';
  src: url('assets/fonts/josefin-sans-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dream Avenue';
  src:
    local('Dream Avenue'),
    url('assets/fonts/dream-avenue-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.josefin-sans {
  font-family: 'Josefin Sans', sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

/* Police par defaut du site */
body {
  font-family: 'Josefin Sans', -apple-system, sans-serif;
  margin: 0%;
}

h1 {
  display: contents;
  font-size: 100%;
  font-family: 'Josefin Sans';
  align-items: center;
}
.h2-accueil {
  margin-top: 15%;
  font-family: 'Dream Avenue';
  font-size: 3em;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0px;
  text-transform: uppercase;
  padding-left: 10%;
}
.travaux-accueil p {
  margin : 0px;
  padding : 0px;
}
.travaux-accueil .wp-block-uagb-container {
  padding: 0% 4%;
}
.travaux-accueil h2 {
  margin : 0px;
  padding : 0px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.images-accueil {
  border: 4px solid #000;   /* bordure extérieure noire */
  outline: 2px solid #fff;  /* contour supplémentaire blanc */
  outline-offset: -6px;     /* colle l’outline à la bordure */
}
hr.wp-block-separator.has-alpha-channel-opacity {
  color: #aba9a8;
}
/* Utiliser Dream Avenue pour le titre du site (si dispo) */
.site-title,
.site-title a {
  font-family: 'Josefin Sans', system-ui, sans-serif;
  letter-spacing: 0.2px;
}

/* Logo petit en haut a gauche */
.site-header .branding {
  gap: 8px;
  align-items: center;
}

.site-header .custom-logo-link img,
.site-header .custom-logo {
  max-height: 125px;
  height: auto;
  width: auto;
  display: block;
  position: absolute;
}

div.site-banner {
  padding: 0em;
}

/* Aligner le menu a droite dans l'entete */
.site-header .container {
  display: inline;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.primary-nav a {
  color: #b80305;
  font-weight: regular;
  text-decoration: none;
  letter-spacing: 0.2em;
  padding-right: 2em;
}

.site-header nav {
  margin-left: auto;
}

.primary-nav {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 4px 10px;
}

/* Nettoyage liste interne */
.primary-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Lignes rouges pleine largeur autour du menu */
.site-header nav {
  position: relative;
  padding: 8px 0;
}

.site-header nav::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: #000000;
  pointer-events: none;
}

.site-header nav::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #000000;
  pointer-events: none;
}

.site-header nav::before {
  top: 0;
}

.site-header nav::after {
  bottom: 0;
}

.content {
  margin-top: 50px;
}

div#n2-ss-2-align {
  max-width: 100% !important;
}

/* Barre rouge en haut du site */
.site::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: #b80305;
}

/* Banniere image centree au-dessus du menu */
.site-banner .container {
  display: grid;
  justify-content: center;
  align-items: center;
  padding: 0px;
}

.site-banner img {
  max-height: 125px;
  height: auto;
  width: auto;
  padding-left: 0%;
}

/* Titre du site centre sous la banniere */
.site-title--center {
  text-align: center;
  margin: 6px 0 10px;
}

/* Hide hero title on the home page front template */
body.home .hero h1 {
  display: none;
}

.site-footer {
  background-color: #000000;
  padding: 10px 10px;
  color : #ffffff;
  font-size: 0.9rem;
}

/* Footer social links */
.site-footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .footer-social-nav-wrap {
  flex: 1 1 240px;
}

.site-footer .footer-info {
  flex: 1 1 240px;
  text-align: center;
}

.site-footer .footer-social-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .footer-social-nav li {
  margin: 0;
}

.site-footer .footer-social-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #b80305;
  border-radius: 999px;
  color: #b80305;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer .footer-social-nav a:hover,
.site-footer .footer-social-nav a:focus {
  background-color: #b80305;
  color: #ffffff;
  border-color: #b80305;
}



.site-footer .footer-social-icons {
  flex: 1 1 240px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
}

.site-footer .footer-social-icons__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-footer .footer-social-icons__link:hover,
.site-footer .footer-social-icons__link:focus {
  transform: scale(1.05);
  filter: drop-shadow(0 0 6px rgba(184, 3, 5, 0.45));
}

.site-footer .footer-social-icons__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 640px) {
  .site-footer .footer-inner {
    justify-content: center;
    text-align: center;
    gap: 12px;
  }

  .site-footer .footer-social-nav {
    justify-content: center;
  }

  .site-footer .footer-info {
    text-align: center;
  }

  .site-footer .footer-social-placeholder {
    text-align: center;
  }

  .site-footer .footer-social-icons {
    justify-content: center;
  }
}

