/* Style site web Cédric Goblet - ancien couleur p #333447 actuel du plus foncé au plus clair: #182e4d, #15335B;, */

/* Typographie réglages généraux pour toutes pages*/
* {
  font-family: averta, times, sans-serif, Helvetica;
  color: #14335d;
}

p {
  font-weight: 300;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.7;
}

h1 {
  font-size: 3rem;
  padding-top: 1%;
}

h2 {
  font-size: 2.1rem;
  padding-bottom: 0;
  margin-bottom: 0;
  padding-top: 1.4rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1.2rem;
}

strong {
  font-weight: 500;
}

p strong {
  font-weight: 300;
}

a {
  font-weight: 300;
}

p a {
  font-weight: 300;
}

a {
  color: #ff5837;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #14335d;
}

em {
  font-style: normal;
}

/* listes */
.numliste {
  list-style-position: outside;
  list-style-type: inherit;
}

/* class pour faciliter le style */
.souligne {
  text-decoration: underline;
}

.it {
  font-style: italic;
}

.smallcaps {
  font-variant: small-caps;
}

/* espaces horizontaux*/
.avant_rien {
  padding-top: 0;
  margin-top: 0;
}

.apres_rien {
  padding-bottom: 0;
  margin-bottom: 0;
}

.espace_1 {
  padding-top: 1%;
}

.espace_2 {
  padding-top: 2%;
}

/* espaces verticaux */
.nomarge_l {
  padding-left: 0;
  margin-left: 0;
}

.nomarge_r {
  padding-right: 0;
  margin-right: 0;
}

/* Averta */
.font-extrathin {
  font-weight: 100;
}

.font-thin {
  font-weight: 200;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

/* Couleurs pour écriture */
.blanc {
  color: white;
}

.white:hover {
  color: white;
}

.nuit {
  color: #14335d;
}

.night:hover {
  color: #14335d;
}

/* Couleurs obtenue entre 094089 et ff5837 */
.ardoise {
  color: #4e4197;
}

.slate:hover {
  color: #4e4197;
}

.mauve-rebecca {
  color: #563f9a;
}

.purple-rebecca:hover {
  color: #563f9a;
}

.orchidee {
  color: #9e3598;
}

.orchid:hover {
  color: #9e3598;
}

.incarnat {
  color: #f3335f;
}

.crimson:hover {
  color: #f3335f;
}

.tomate {
  color: #fa4051;
}

.tomatao:hover{
  color: #fa4051;
}

.soleil {
  color: #ff5837;
}

.sun:hover {
  color: #ff5837;
}

/* Couleurs obtenue entre 094089 (idéal pour h2) et #2610ce (permet un bleu plus vif) */
/* Entre les deux on obtient des bleus proches logo original, soit 00bcd4 */
.bleu-mer{
  color: #009dc8;
}

.sea-green:hover{
  color: #009dc8;
}

.turquoise{
  color: #00acce;
}

.bleu-avocat {
  color: #00bcd4;
}

.blue-avocat:hover {
  color: #00bcd4;
}

/* Gradients pour écriture */
.text-gradient {
  /* Default: sRGB interpolation */
  --_space: ;

  background-image: linear-gradient(
    30deg var(--_space),
    #182e4d 1%,
    #094089 28%,
    #ff5837 55%,
    #094089 73%
  );
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Modern: OKLCH interpolation */
@supports (background-image: linear-gradient(in oklch, #000, #fff)) {
  .text-gradient {
    --_space: in oklch;
  }
}

.title-gradient {
  /* Default: sRGB interpolation */
  --_space: ;

  background-image: linear-gradient(
    30deg var(--_space),
    #094089 3%,
    #ff5837 25%,
    #094089 75%
  );
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Modern: OKLCH interpolation */
@supports (background-image: linear-gradient(in oklch, #000, #fff)) {
  .title-gradient {
    --_space: in oklch;
  }
}

/* Menu général pour toutes les pages*/
@media only screen and (min-width: 33.75em) {
  /* Tout sauf mobile */
  #presentation {
    margin-top: 1em;
  }

  #presentation ul {
    list-style: none;
    position: relative;
    float: right;
    margin: 0;
    padding: 0;
  }

  #presentation ul a {
    display: block;
    text-decoration: none;
    font-weight: 300;
    font-size: 1rem;
    padding: 0 0.6em;
  }

  #presentation ul li {
    position: relative;
    float: left;
    margin: 0;
    padding: 0;
  }

  #presentation ul ul {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    padding: 0;
    z-index: 1;
  }

  #presentation ul ul li {
    float: none;
    width: 13em;
  }

  #presentation ul ul a {
    line-height: 40%;
    padding: 0.9em 0.9em;
  }

  #presentation ul ul ul {
    top: 0;
    left: 100%;
  }

  #presentation ul li:hover > ul {
    display: block;
  }
}

@media only screen and (max-width: 33.75em) {
  /* Mobile*/
  #presentation {
    margin-top: 6.5em;
  }

  #presentation ul {
    list-style: none;
    padding: 0;
  }

  #presentation ul a {
    display: block;
    text-decoration: none;
    font-weight: 300;
    padding: 0 0;
  }

  #presentation ul li {
    margin: 0;
    padding-bottom: 0.8em;
  }

  #presentation ul li {
    margin: 0;
    padding-bottom: 0.8em;
  }

  #presentation ul ul {
    padding-right: 0;
    padding-left: 0;
    padding-top: 0.9em;
    display: none;
  }

  #presentation ul ul li {
    padding-top: 0.2em;
    padding-bottom: 0.9em;
  }

  #presentation ul ul a {
    padding-right: 0;
    padding-left: 0;
  }

  #presentation ul li:hover > ul {
    display: block;
  }
}

/* Logo*/
.logo {
  width: 63px;
  float: left;
  margin-right: 20px;
  height: auto;
  fill: #14335d;
}

.logo:hover {
  fill: #14335d;
}

#cedric {
  float: left;
  margin-top: 0;
  padding-top: 0;
}

.nom {
  letter-spacing: 0.1em;
  font-size: 1.3em;
  font-weight: 400;
  margin-top: 0px;
  margin-bottom: 0;
  padding-top: 4px;
  margin-bottom: 0;
}

.lawyr {
  font-weight: 200;
  font-variant: small-caps;
  font-size: 1.2rem;
  padding-top: 6px;
  margin-top: 0;
  line-height: 0.1;
}

/* section du header avec le h1 */

.subtitle{
  font-size: 1.6rem;
  font-weight: 200;
}

.tags{
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  padding-top: 3%;
  padding-bottom: 3%;
}


/* footer */
.legal p {
  font-weight: 300;
  font-size: 0.9rem;
}

.legal a {
  font-weight: 200;
  font-size: 0.9rem;
}

.copyright p {
  font-weight: 200;
  font-size: 0.9rem;
}
