/* Implant en Hongrie — fond crème, sections aérées, cartes bien séparées. */
:root {
  --fond: #f5f2ea;
  --fond-alt: #efe9db;
  --carte: #ffffff;
  --encre: #1f2a2c;
  --encre-douce: #566265;
  --accent: #1d5c63;
  --accent-fonce: #134148;
  --filet: #e2dccb;
  --rayon: 18px;
  --ombre: 0 1px 2px rgb(31 42 44 / 6%), 0 8px 24px rgb(31 42 44 / 5%);
  --police: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --police-titre: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font: 1.0625rem/1.7 var(--police);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-fonce);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.conteneur {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.evitement {
  position: absolute;
  left: -999px;
}

.evitement:focus {
  left: 1rem;
  top: 1rem;
  background: var(--carte);
  padding: 0.5rem 1rem;
  z-index: 20;
}

/* Titres */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--police-titre);
  font-weight: 600;
  line-height: 1.2;
  color: var(--encre);
  margin: 1.6em 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.015em;
  margin: 0;
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.2rem;
}

h5,
h6 {
  font-size: 1.05rem;
  font-family: var(--police);
  letter-spacing: 0.04em;
}

:is(h3, h4, h5, h6):first-child {
  margin-top: 0;
}

/* Boutons */
.bouton {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.3;
  text-decoration: none;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-family: var(--police);
}

.bouton:hover {
  background: var(--accent-fonce);
  border-color: var(--accent-fonce);
  color: #fff;
}

.bouton-clair {
  background: transparent;
  color: var(--accent);
}

.bouton-clair:hover {
  background: var(--accent);
  color: #fff;
}

/* En-tête */
.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(245 242 234 / 92%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--filet);
}

.entete-barre {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.6rem;
  flex-wrap: wrap;
}

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

.entete nav {
  flex: 1;
}

.entete ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.entete nav a {
  color: var(--encre);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.entete nav a:hover,
.entete nav a[aria-current] {
  border-bottom-color: var(--accent);
}

/* Bandeaux d'ouverture */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3.5rem);
}

.hero-page h1 {
  max-width: 22ch;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero .icone img {
  height: 64px;
  width: auto;
}

.surtitre {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.hero-grille {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}

.chapeau {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--encre-douce);
  max-width: 34ch;
  margin: 1.2rem 0 1.8rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
}

.chiffres {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.chiffres li {
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  padding: 1.1rem 0.8rem;
  text-align: center;
  box-shadow: var(--ombre);
}

.chiffres strong {
  display: block;
  font: 600 clamp(1.5rem, 3vw, 2.1rem) var(--police-titre);
  color: var(--accent);
}

.chiffres span {
  font-size: 0.85rem;
  color: var(--encre-douce);
  line-height: 1.3;
  display: block;
}

.avis {
  display: block;
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  padding: 1rem;
  box-shadow: var(--ombre);
}

.avis img {
  margin-inline: auto;
  max-height: 120px;
  width: auto;
}

/* Sections */
.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section-alt {
  background: var(--fond-alt);
}

.section-tete {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  margin-bottom: 2rem;
}

.section-tete .icone img {
  height: 56px;
  width: auto;
}

.section-action {
  margin-left: auto;
}

.section-action .bouton {
  padding: 0.5rem 1.1rem;
}

.section .conteneur > * + * {
  margin-top: 1.5rem;
}

.section .conteneur > .section-tete + * {
  margin-top: 0;
}

/* Blocs et cartes */
.bloc,
.carte,
.visuel-schema,
.note,
.accordeon details,
.tarifs,
.colonnes > ul {
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.texte {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.texte > :first-child {
  margin-top: 0;
}

.texte > :last-child {
  margin-bottom: 0;
}

.texte p,
.texte ul {
  max-width: 75ch;
}

.texte p {
  margin: 0 0 1em;
}

.texte ul {
  padding-left: 1.3rem;
  margin: 0 0 1em;
}

.texte li {
  margin-bottom: 0.4em;
}

.texte .lien a {
  font-weight: 600;
}

.signature {
  color: var(--encre-douce);
  font-size: 0.95rem;
}

.cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.cartes-larges {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.carte {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}

.carte > :is(h3, h4, h5, h6) {
  margin: 0 0 0.7rem;
}

.carte p,
.carte ul {
  margin: 0 0 0.8em;
}

.carte ul:not(.tarifs) {
  padding-left: 1.2rem;
}

.carte-visuel {
  margin-bottom: 1rem;
}

.carte-visuel img {
  height: 64px;
  width: auto;
}

.carte .tarifs {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: none;
}

/* Visuels */
.visuel {
  margin: 0;
}

.visuel-photo img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.visuel-schema {
  padding: 1rem;
  text-align: center;
}

.visuel-schema img {
  margin-inline: auto;
  max-height: 480px;
  width: auto;
}

.carte-visuel .visuel-schema {
  border: 0;
  box-shadow: none;
  padding: 0;
  text-align: left;
}

figcaption {
  font-size: 0.92rem;
  color: var(--encre-douce);
  margin-top: 0.6rem;
}

.visuels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
}

.etapes .visuel-schema {
  height: 100%;
}

.galerie {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0.9rem;
}

.galerie img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--ombre);
  transition: transform 0.2s;
}

.galerie a:hover img {
  transform: translateY(-3px);
}

.equipe {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 1.1rem;
}

.equipe li {
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}

.equipe img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.equipe :is(h3, h4, h5, h6) {
  font: 600 1rem/1.3 var(--police);
  letter-spacing: 0;
  margin: 0;
  padding: 0.8rem 1rem 1rem;
}

.note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: #fbf7ea;
}

.note img {
  width: 40px;
  flex: none;
}

.note p {
  margin: 0;
}

/* Tarifs */
.tarifs {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.4rem;
}

.tarifs li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--filet);
  line-height: 1.45;
}

.tarifs li:last-child {
  border-bottom: 0;
}

.tarifs .prix {
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}

.tarifs .offert {
  color: #2f7a4f;
}

.carte .tarifs li {
  padding-block: 0.55rem;
  font-size: 0.97rem;
}

.carte .tarifs {
  padding-inline: 0;
}

/* Colonnes de vols, liens */
.colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.colonnes > ul {
  margin: 0;
  list-style: none;
  padding: 1.2rem 1.5rem;
}

.colonnes li {
  padding: 0.3rem 0;
}

.liens {
  list-style: none;
  padding-left: 0 !important;
}

.liens a {
  font-weight: 600;
}

/* FAQ */
.accordeon {
  display: grid;
  gap: 0.8rem;
}

.accordeon details {
  padding: 0;
}

.accordeon summary {
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.accordeon summary::-webkit-details-marker {
  display: none;
}

.accordeon summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
}

.accordeon details[open] summary::after {
  content: '−';
}

.reponse {
  padding: 0 1.5rem 1.3rem;
}

.reponse .bloc {
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Formulaires */
.formulaire {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 640px;
}

.formulaire p {
  margin: 0 0 1rem;
}

.formulaire label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.formulaire input,
.formulaire textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid #c9c2ae;
  border-radius: 10px;
  background: #fffdf8;
}

/* Pied de page */
.pied {
  background: var(--accent-fonce);
  color: #e8efef;
  padding-block: 3.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pied a {
  color: #e8efef;
}

.pied a:hover {
  color: #fff;
}

.pied-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.pied h2 {
  font: 700 0.78rem/1.4 var(--police);
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 0.8rem;
}

.pied h2 a {
  text-decoration: none;
}

.pied ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.pied li {
  margin-bottom: 0.3rem;
}

.pied .bouton {
  background: #fff;
  color: var(--accent-fonce);
  border-color: #fff;
}

.pied .bouton:hover {
  background: #e8efef;
}

.pied-marque img:first-child {
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 1rem;
}

.pied-avis img {
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  margin-top: 0.5rem;
  max-width: 180px;
}

.telephone {
  background: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  max-width: 230px;
}

@media (max-width: 860px) {
  .hero-grille {
    grid-template-columns: 1fr;
  }

  .entete nav {
    order: 3;
    flex-basis: 100%;
  }

  .entete ul {
    justify-content: flex-start;
  }

  .section-action {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .galerie img {
    transition: none;
  }
}
