* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter';
  line-height: 1.6;
  color: #1A3C5E;
  background-color: #F8F8F8;
}

:root {
  --primary-color: #1A3C5E;
  --accent-color: #D4A017;
  --text-color: #333;
  --bg-color: #F8F8F8;
}

.josefin-sans-300 {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.inter-400 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  font-family: 'Inter', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 3rem;
  color: white;
}

nav .logo .goldcrest {
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 2rem;
}

section a {
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h3 {
  margin: 0;
}

p {
  max-width: 600px;
  color: var(--text-color);
  margin: 1em 0;
  line-height: 1.6;
}

em {
  color: var(--accent-color);
  font-style: oblique 15deg;  
}

cite, i {
  font-style: oblique 15deg;
}

.citation {
  color: var(--accent-color);
}

.block {
  display: block;
}

.format-stage {
  color: #555555;
  display: block;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  color: white;
  background-color: var(--accent-color);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 1rem;
}

.cta:hover {
  background-color: #b88c14;
}

.testimonial {
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-left: 4px solid var(--accent-color);
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-style: oblique 15deg;
}

.avis-quotes p:last-child {
  margin-bottom: 0;
}

.testimonial .auteur {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

section .testimonial + .cta {
  margin-top: 0;
}

.intro {
  background-color: #f0f0f0;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.intro a {
  color: var(--text-color);
}

.stage-teaser {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.stage-teaser a:not(.cta) {
  color: var(--text-color);
}

.stage-teaser strong {
  font-size: 1.17em;
}

.stage-infos {
  background-color: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  max-width: 600px;
}

.stage-infos p {
  margin: 0;
}

.contexte {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.developpement {
  background-color: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.avis {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #f7d358;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.avis p:last-child {
  margin-bottom: 0;
}

.avis h2 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.avis .meta {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  color: #666;
}

.avis .auteur {
  font-style: italic;
}

.section-grey {
  background-color: #f0f0f0;
  border-left-color: var(--primary-color);
  margin-bottom: 2rem;
}

.section-yellow {
  background-color: #f9f5f0;
  border-left-color: var(--accent-color);
  margin-bottom: 2rem;
}

#temoignages {
  max-width: 600px;
}

.footer {
  background-color: var(--primary-color);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: #f0f0f0;
}

.footer p {
  margin: 0.1rem 0;
  padding: 0;
  color: #f0f0f0;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer a {
  color: #D4A017;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.bio-header {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2em;
}

.bio-header .intro {
    flex: 1;
}

.portrait-romain {
    flex: none;
    width: auto;
    max-width: 400px;
    margin: 0;
}

.portrait-romain img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 4px;
}

.resa-form .field-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.resa-form .form-group {
  flex: 1;
}

.resa-form .form-group.small-field {
  flex: none;
  width: 4rem;
}

.resa-form .form-group label,
.resa-form .form-group input {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: normal;
  color: var(--primary-color);
}

.resa-form .form-group input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.resa-form .form-group input:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 1px;
}

.resa-form .cta {
  margin-top: 1rem;
}

label {
  font-weight: normal;
}

.errors,
.errors p {
  color: #E52330 !important;
  background-color: #FCE5E8;
  margin: 0;
}

.errors p:last-child {
  margin-bottom: 1rem;
}

.success,
.success p {
  color: #218838 !important;
  background-color: #E6F4EA;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

.newsletter {
  background-color: #f9f5f0;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
}

.newsletter-form {
  margin-top: 1rem;
}

.newsletter-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 480px;
}

.newsletter-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font: inherit;
  width: 100%;
}

.newsletter-input:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav .logo {
    font-size: 1.8rem;
  }

  section {
    width: 100%;
    max-width: 100%;
  }

  .footer {
    font-size: 0.8rem;
  }

.bio-header {
    display: block;
  }
  
  .portrait-romain {
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem 0;
  }

  .portrait-romain img {
    width: 100%;
    height: auto;
    max-width: none;
  }
  
  .resa-form .field-row {
    flex-direction: column;
  }

  .resa-form .field-row.date-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .resa-form .field-row.date-row .form-group.small-field {
    width: 30%;
    flex: none;
  }
}

@media (max-width: 480px) {
  .footer {
    font-size: 0.7rem;
  }
}