/* Base */
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  background-color: #f0f0f0;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header img {
  height: 80px;
  flex-shrink: 0;
}

header h1 {
  margin: 0;
  font-size: 4rem;
}

header p {
  margin: 0.2rem 0 0 0;
  font-size: 1.05rem;
}

h1, h2, h3 {
  font-family: Courier, monospace;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.5em;
}

p, ul, li {
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background-color: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}

.confiance h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.confiance .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.confiance .acteur {
  background-color: #fafafa;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.confiance .acteur img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.confiance .acteur h3 {
  font-family: Courier, monospace;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .confiance .grid {
    grid-template-columns: 1fr 1fr;
  }
}


.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #002C5F;
  color: white;
  text-decoration: none;
  font-family: Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
}

.cta-button:hover {
  background-color: #001A3F;
}

/* Services */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service {
  background-color: #fafafa;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input, textarea {
  padding: 0.75rem;
  font-size: 1rem;
  font-family: "Times New Roman", Times, serif;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #002C5F;
  color: white;
  font-family: Courier, monospace;
  text-transform: uppercase;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
}

button[type="submit"]:hover {
  background-color: #001A3F;
}

/* Footer */
footer {
  background-color: #f5f5f5;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #666;
  margin-top: 3rem;
}

.gallery-section h2 {
  text-align: left;
  margin-bottom: 30px;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 16px;
}

.masonry-gallery img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  break-inside: avoid;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.masonry-gallery img:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-gallery {
    column-count: 1;
  }
}
