/* ============================================
   Philippe Nugue Avocat – Static Site Styles
   Exact values extracted from Divi 4.24.2 +
   WordPress Customizer on nugueavocat.com
   ============================================ */

/* ---------- Reset (Divi reset) ---------- */
a, abbr, acronym, address, applet, b, big, blockquote, body, center,
cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form,
h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label,
legend, li, object, ol, p, pre, q, s, samp, small, span, strike,
strong, sub, sup, tt, u, ul, var {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  vertical-align: baseline;
  background: transparent;
}

*, *::before, *::after {
  box-sizing: border-box;
}

ol, ul { list-style: none; }
article, aside, footer, header, hgroup, nav, section { display: block; }

/* ---------- Body ---------- */
body {
  font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  line-height: 1.5em;          /* customizer override (Divi default: 1.7em) */
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
a {
  color: #2ea3f2;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  opacity: 0.7;
}

p {
  padding-bottom: 1em;
}

p:last-of-type {
  padding-bottom: 0;
}

strong {
  font-weight: 700;
}

em, i, cite {
  font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
  color: #333;
  padding-bottom: 10px;
  line-height: 1em;
  font-weight: 500;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
}

h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

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

sub, sup {
  height: 0;
  line-height: 1;
  position: relative;
  vertical-align: baseline;
}

sup { bottom: 0.8em; }
sub { top: 0.3em; }

/* ---------- Layout ---------- */
.container {
  width: 80%;
  max-width: 1080px;
  margin: auto;
  position: relative;
}

/* ---------- Header ---------- */
#main-header {
  line-height: 23px;
  font-weight: 500;
  top: 0;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  position: fixed;
  z-index: 99999;
  text-align: center;
  transition: background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;
}

/* Centered header: padding adjusted for no-logo (et_hide_primary_logo) */
#main-header .header-inner {
  text-align: center;
  padding: 20px 0 0;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- Desktop Navigation ---------- */
#top-nav {
  display: inline-block;      /* centered: nav#top-menu-nav display: inline-block */
  float: none;
  line-height: 0;
}

#top-nav ul {
  list-style: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  float: none;
  line-height: 0;
}

#top-nav li {
  display: inline-block;
  font-size: 14px;
  padding-right: 22px;
}

#top-nav li:last-child {
  padding-right: 0;
}

#top-nav a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  display: block;
  position: relative;
  font-weight: 600;
  font-size: 14px;
  padding-bottom: 24px;       /* centered: #top-menu > li > a padding-bottom */
  transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

#top-nav a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* Current page in nav: color #000000 (customizer) */
#top-nav a[aria-current="page"] {
  color: #000000;
  opacity: 1;
}

/* ---------- Mobile Navigation ---------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #fff;
  text-align: left;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 10px 20px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  text-decoration: none;
}

.mobile-nav a:hover {
  opacity: 0.7;
}

.mobile-nav a[aria-current="page"] {
  color: #000000;
}

/* ---------- Page Container ---------- */
#main-content {
  /* Original keeps padding-top: 147px even with logo hidden */
  padding-top: 147px;
  background-color: #fff;
  min-height: calc(100vh - 55px);
}

/* Inner content area: .container padding-top: 58px (Divi default for main-content) */
#main-content .container {
  padding-top: 58px;
}

/* ---------- Homepage ---------- */
.home-content {
  text-align: center;
  padding-top: 0;             /* .et_pb_section_0: padding-top: 0px */
  padding-bottom: 34px;       /* .et_pb_section_0: padding-bottom: 34px */
}

.home-content .logo-main {
  max-width: 698px;            /* native image width cap */
  width: 100%;
  margin: 0 auto 2.75%;       /* .et_pb_gutters3 module margin-bottom: 2.75% */
  display: block;
}

.home-content h4 {
  padding-bottom: 10px;
}

.home-content h5 {
  font-weight: 500;
  padding-bottom: 10px;
}

.home-content h5 a {
  color: #2ea3f2;
}

/* ---------- Page Title ---------- */
.page-title {
  text-align: center;
  padding-bottom: 10px;
  font-size: 30px;
  line-height: 1em;
}

.page-title.left {
  text-align: left;
}

/* ---------- Content Area ---------- */
.page-body {
  padding: 27px 0;
}

.content-area h2 {
  padding-top: 0;
  padding-bottom: 10px;
}

.content-area p {
  padding-bottom: 1em;
}

.content-area p:last-of-type {
  padding-bottom: 0;
}

/* Lists: Divi .entry-content ul */
.content-area ul {
  list-style-type: disc;
  padding: 0 0 23px 1em;
  line-height: 26px;
}

.content-area ul li {
  list-style: disc;
}

.content-area ul li ul {
  padding: 2px 0 2px 20px;
}

/* ---------- Footer ---------- */
#main-footer {
  background-color: #9e9e9e;  /* customizer override */
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.32); /* Divi #footer-bottom */
  padding: 15px 0 5px;
}

.footer-info {
  text-align: center;         /* customizer: #footer-info float:none; text-align:center */
  color: #fff;                /* customizer: #footer-info color: #ffffff */
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 1.5em;
}

.footer-info a {
  font-weight: 700;
  color: #fff;                /* customizer: #footer-info a color: #ffffff */
  transition: all 0.4s ease-in-out;
}

.footer-info a:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* ---------- Responsive: Tablet (≤980px) ---------- */
@media (max-width: 980px) {
  #main-content {
    padding-top: 136px;         /* mobile centered header */
  }

  #top-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-top: 20px;          /* .et_header_style_centered #et_mobile_nav_menu margin-top: 20px */
  }

  .logo-container {
    height: auto;
    max-height: 100px;         /* .et_header_style_centered header#main-header .logo_container */
  }

  .logo-container img {
    max-height: 60px;          /* .et_header_style_centered #logo max-height: 60px */
  }

  #main-header .header-inner {
    padding: 20px 30px;
  }

  /* Page container padding-top: 80px (Divi default mobile) — but centered style: 136px */
}

/* ---------- Responsive: Phone (≤767px) ---------- */
@media (max-width: 767px) {
  .container {
    width: 90%;
  }

  .logo-container img {
    max-height: 50px;
  }

  #main-content {
    padding-top: 120px;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  h3 { font-size: 20px; }
}

/* ---------- Large screens (≥1350px) ---------- */
@media (min-width: 1350px) {
  .page-body {
    padding: 27px 0;          /* .et_pb_row padding: 27px 0 */
  }
}
