@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   ROOFIN STYLE - CSS PERSONNALISÉ POUR COUVREUR ISLE 87
   ========================================================================== */

/* --- Variables de couleurs et typographie --- */
:root {
  --primary-color: #FF5E14; /* Orange industriel */
  --primary-hover: #e04e0b;
  --secondary-color: #0A1B28; /* Bleu nuit profond */
  --text-color: #555555;
  --text-light: #888888;
  --bg-light: #F7F9FA;
  --white: #ffffff;
  --border-color: #E5E5E5;
  --font-main: 'Poppins', sans-serif;
  --font-text: 'Open Sans', sans-serif;
  --transition: all 0.3s ease-in-out;
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-text);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Topbar (Barre d'information supérieure) --- */
.topbar {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  gap: 20px;
}

.topbar-info i {
  color: var(--primary-color);
  margin-right: 8px;
}

.topbar a {
  color: var(--white);
}

.topbar a:hover {
  color: var(--primary-color);
}

/* --- Header & Navigation --- */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 60px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text .subtitle {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a.nav-link {
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 0.95rem;
}

.main-nav a.nav-link:hover {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 12px 25px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color) !important;
}

/* --- Hero Section --- */
.theme-roof {
  position: relative;
  background-image: url('couvreur-isle.jpg'); /* Votre image existante */
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  text-align: center;
  z-index: 1;
}

.theme-roof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 27, 40, 0.75); /* Overlay sombre */
  z-index: -1;
}

.theme-roof h1 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.theme-roof h1 span {
  color: var(--primary-color);
}

.theme-roof p {
  color: #e0e0e0;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* --- Section Intro / À propos --- */
.section-intro {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
}

.intro-text {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 20px auto 0;
}

/* --- Section Services --- */
.section-services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-services .section-title {
  margin-bottom: 50px;
  display: block;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 94, 20, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Contact & Map Section --- */
.section-contact {
  padding: 80px 0 0 0;
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.contact-info-box {
  background-color: var(--secondary-color);
  padding: 40px;
  border-radius: 8px;
  color: var(--white);
}

.contact-info-box h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-item p, .contact-item a {
  color: #cccccc;
  font-size: 0.95rem;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- Footer --- */
.footer {
  background-color: #06111a;
  color: #888;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

.footer span {
  color: var(--primary-color);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablettes et Mobiles)
   ========================================================================== */

@media (max-width: 992px) {
  .theme-roof h1 {
    font-size: 3rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none; /* Masquer la topbar sur mobile pour gagner de la place */
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .theme-roof {
    padding: 100px 0;
  }

  .theme-roof h1 {
    font-size: 2.2rem;
  }

  .theme-roof p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-box {
    padding: 30px 20px;
  }
}