/* ================================
   Reset et box-sizing
   ================================ */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  list-style: none;
}

/* ================================
   Déclaration des polices locales
   ================================ */


/* Clash Display pour les titres */
@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Regular.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Regular.woff') format('woff');
    font-style: normal;
}

@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2'),
         url('../fonts/ClashDisplay-Bold.woff') format('woff');
    font-style: normal;
}

/* ================================
   Styles globaux
   ================================ */
body {
  color: #64748b; /* Gris doux pour le texte */
  font-size: 14px;
  font-family: "Merriweather", serif;/* Police du texte */
  overflow-x: hidden !important;
}

body.noise-img {
  position: relative;
}

body.noise-img:before {
  content: '';
  background-image: url(../imgs/patterns/noise.png);
  background-size: 70px;
  background-repeat: repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body.home-digital .container,
body.home-arch .container,
body.home-corp .container {
  max-width: 1200px;
}

/* ================================
   Titres avec Clash Display
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 700;
  color: #040F49 !important; /* Bleu très foncé */
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.75rem; line-height: 1.4; }
h4 { font-size: 1.5rem; line-height: 1.4; }
h5 { font-size: 1.25rem; line-height: 1.4; }
h6 { font-size: 1rem; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.05em; }

/* ================================
   Texte courant avec Inter
   ================================ */
p {
  font-family: "Merriweather", serif;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #64748b; /* Gris doux */
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
  font-family: "Merriweather", serif;
}

/* ================================
   Liens
   ================================ */
a {
  color: #040F49; /* Couleur secondaire pour liens */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================================
   Boutons / CTA
   ================================ */
.btn-primary {
    color: #ffffff;
    background-color: #F97316;
    border-color: #F97316;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: #ea580c;
    border-color: #ea580c;
}

.button-primary {
  background-color: #F97316; /* Couleur principale orange */
  color: #ffffff; /* texte blanc */
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-primary:hover {
  background-color: #ea580c; /* Orange plus foncé */
}

.button-secondary {
  background-color: #2563EB; /* Bleu secondaire */
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-secondary:hover {
  background-color: #1d4ed8;
}


.butn.butn-md {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.butn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================================
   Hero / Header Styles
   ================================ */
.header-creative,
.page-header {
  background-color: #f8fafc;
}

.header-creative h1,
.page-header h1,
.header-creative h2,
.page-header h2 {
  color: #040F49; /* Bleu très foncé */
}

.header-creative h6,
.page-header h6,
.header-creative .sub-title,
.page-header .sub-title {
  color: #6B7280; /* Gris */
}

.header-creative .caption,
.page-header .caption {
  position: relative;
  z-index: 1;
}

.header-creative .text,
.page-header .text {
  color: #6B7280; /* Gris pour paragraphes hero */
}

.header-creative .btn-primary,
.page-header .btn-primary {
  background-color: #F97316;
  border-color: #F97316;
  color: #ffffff;
}

.header-creative .btn-primary:hover,
.page-header .btn-primary:hover {
  background-color: #ea580c;
  border-color: #ea580c;
}

.header-creative .btn-secondary,
.page-header .btn-secondary {
  background-color: #2563EB;
  border-color: #2563EB;
  color: #ffffff;
}

.header-creative .btn-secondary:hover,
.page-header .btn-secondary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}