/*--------------------------------------------------------------
# Design System Variables
--------------------------------------------------------------*/
:root {
  --color-primary: #8d167e; /* Accentuation/Buttons */
  --color-secondary: #e8bea9; /* Menu mouse over / Hover */
  --color-text: #2c3e50; /* Content text */
  --color-background: #ffffff; /* Main background */
  --color-watermark: #444444; /* Watermark lines */
  --color-titles-hero: #ffffff; /* Main title text (Hero) */
  --color-menu-text: #ffffff; /* Main menu text */
  --color-section-bg: #f9f9f9; /* Light grey for section-bg */

  --font-h1: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
  --font-h2: 'Abel', Helvetica, Arial, Lucida, sans-serif;
  --font-content: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-content);
  color: var(--color-text);
  background-color: var(--color-background);
  
  /* Abstract watermark curved lines using SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ebebeb' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M0 0h40v40H0V0zm40 40h40v40H40V40zM0 40h40v40H0V40zm40 0h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
}

html, body {
  max-width: 100%;
  overflow-x: hidden; /* prevent unwanted horizontal scrollbar on small screens */
}

/* Ensure header never exceeds viewport width and uses box-sizing */
.header {
  box-sizing: border-box;
  width: 100%;
  left: 0;
  right: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h1);
  font-weight: 700;
}

h1 { font-family: var(--font-h1); }
h2 { font-family: var(--font-h2); font-size: 2.5rem; text-transform: uppercase; letter-spacing: 1px; }
h3 { font-family: var(--font-h1); font-weight: 600; font-size: 1.5rem; }
h4 { font-family: var(--font-h1); font-weight: 600; font-size: 1.2rem; }

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.section-padding {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--color-section-bg);
}

.section-title h2 {
  color: var(--color-primary);
  font-size: 2.8rem;
  font-family: var(--font-h2);
  margin-bottom: 10px;
}

.section-title p {
  font-size: 1.2rem;
  font-style: italic;
  color: #666;
}

.accent-separator {
  width: 80px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 15px 0 25px 0;
}

.accent-separator.mx-auto {
  margin: 15px auto 25px auto;
}

.accent-separator-full {
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 40px 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  background: rgba(44, 62, 80, 0.9); /* Dark grey, using --color-text */
}

.header.sticked {
  height: 70px;
  background: rgba(44, 62, 80, 1);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.header .logo img {
  max-height: 50px;
  margin-right: 10px;
}

.header .logo span {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-menu-text);
  font-family: var(--font-h1);
}

/* Get Started Button */
.btn-get-started {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 25px;
  border-radius: 50px;
  font-family: var(--font-h1);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.3s;
}

.btn-get-started:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-family: var(--font-h1);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-menu-text);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--color-secondary);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--color-menu-text);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle:hover {
  color: var(--color-secondary);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
    position: fixed; /* Changed from absolute to fixed */
    top: 80px; /* Match header height */
    right: 0; /* Full width */
    left: 0; /* Full width */
    padding: 0; /* Remove padding */
    background-color: var(--color-text);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }
  
  .navbar.navbar-mobile ul {
    display: block;
  }

  .navbar.navbar-mobile a,
  .navbar.navbar-mobile a:focus {
    padding: 15px 30px; /* Increased padding */
    font-size: 15px;
    color: var(--color-menu-text);
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Optional separator */
  }

  .navbar.navbar-mobile li {
    width: 100%;
  }

  /* Adjust for sticky header */
  .header.sticked .navbar ul {
    top: 70px; /* Match sticked header height */
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 120px 0 60px 0;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#hero .hero-h1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-titles-hero);
  font-family: var(--font-h1);
  padding-top: 50px; /* Align top-left as requested */
}

#hero .hero-h2 {
  color: var(--color-titles-hero);
}

#hero .hero-h3 {
  color: var(--color-primary);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
}

#hero .hero-tagline {
  color: var(--color-titles-hero);
  margin-bottom: 100px; /* Aligned center-left (vertical) */
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  font-family: var(--font-h1);
}

@media (max-width: 768px) {
  #hero .hero-h1 {
    font-size: 2.5rem;
  }
  #hero .hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 50px;
  }
}

/*--------------------------------------------------------------
# Accueil Section
--------------------------------------------------------------*/
.accueil p {
  line-height: 1.7;
}

/*--------------------------------------------------------------
# Accompagnement Section
--------------------------------------------------------------*/
.dialogue-bubbles-wrapper {
  margin-top: 40px;
  gap: 20px;
}
.dialogue-bubble {
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  height: 100%;
  transition: all 0.3s ease-in-out;
}
.dialogue-bubble:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.dialogue-bubble h3 {
  font-family: var(--font-h2);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.dialogue-bubble.bubble-1 {
  border-bottom: 5px solid var(--color-primary);
  transform: rotate(-2deg);
}
.dialogue-bubble.bubble-2 {
  border-bottom: 5px solid var(--color-secondary);
  transform: rotate(1deg);
}
.dialogue-bubble.bubble-3 {
  border-bottom: 5px solid var(--color-primary);
  transform: rotate(3deg);
}

/*--------------------------------------------------------------
# Approche Section
--------------------------------------------------------------*/
.symbole-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  height: 100%;
}
.symbole-item img {
  width: 60px; /* Celtic knot image */
  height: 100px;
  /*border-radius: 50%;*/
  margin-right: 20px;
  object-fit: scale-down;
}
.symbole-item h4 {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.symbole-item ul {
  padding-left: 20px;
  margin-bottom: 10px;
  font-style: italic;
}

/*--------------------------------------------------------------
# Specialisations Section
--------------------------------------------------------------*/
.approches-list {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  padding-left: 20px;
}
.approches-list li {
  margin-bottom: 10px;
}

.spec-card {
  background: var(--color-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  height: 100%;
  position: relative;
}
.spec-card h3 {
  font-family: var(--font-h2);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}
.spec-card ul {
  list-style-type: none;
  padding-left: 0;
}
.spec-card ul li {
  padding: 5px 0 5px 25px;
  position: relative;
}
.spec-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--color-primary);
  font-weight: 700;
}
.spec-card .spec-card-img-top {
  position: absolute;
  top: -10px;
  left: -20px;
}
.spec-card .spec-card-img-top img {
  height: 90px;
  width: auto;
  transform: rotate(-10deg);
}
.spec-card .spec-card-img-top.icon {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: -50px;
}
.spec-card .spec-card-img-top.icon img {
  height: 75px;
}
.spec-card-full {
  text-align: center;
}
.spec-card-full ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  display: inline-block;
  text-align: left;
}

/*--------------------------------------------------------------
# Cadre d'accueil Section
--------------------------------------------------------------*/
.cadre-list {
  list-style: none;
  padding-left: 0;
}
.cadre-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}
.cadre-list li::before {
  content: '\F4D2'; /* Bootstrap icon: geo-alt-fill */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--color-primary);
}
.cadre-list li:nth-child(2)::before {
  content: '\F435'; /* Bootstrap icon: house-door-fill */
}
.cadre-list li:nth-child(3)::before {
  content: '\F633'; /* Bootstrap icon: tree-fill */
}


/*--------------------------------------------------------------
# A propos de moi Section
--------------------------------------------------------------*/
.apropos p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# CGV Section
--------------------------------------------------------------*/
.cgv-item {
  margin-bottom: 30px;
}
.cgv-item h3 {
  font-size: 1.3rem;
  font-family: var(--font-h2);
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.cgv-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}
.cgv-item ul {
  padding-left: 20px;
  margin-top: 10px;
}
.cgv-conclusion h2 {
  font-size: 1.8rem;
  color: var(--color-text);
  font-family: var(--font-h2);
}
.cgv-conclusion h4 {
  color: var(--color-primary);
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background: var(--color-background);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  padding: 30px;
}
.contact .info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}
.contact .info-item i {
  font-size: 2.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-right: 20px;
  line-height: 0;
}
.contact .info-item h3 {
  font-size: 1.3rem;
  font-family: var(--font-h1);
  font-weight: 700;
  margin-bottom: 5px;
}
.contact .info-item p {
  margin-bottom: 0;
}
.contact .google-map {
  border-radius: 10px;
  margin-top: 15px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
}
.footer .copyright {
  margin-bottom: 10px;
}
.footer .social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  line-height: 38px;
  margin: 0 5px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  background: var(--color-primary);
  color: #fff;
}