

/* HERO */

#loader {
    position: fixed;
    inset: 0;
    background-color: #f9f7ef;
    z-index: 99;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#loader img {
    width: 150px;
    max-width: 75svw;
}

@keyframes spin {
    from { transform: rotate(0turn) }
    90% { transform: rotate(1turn) }
    to { transform: rotate(1turn) }
}
#loader #spinner {
    width: 2.5rem;
    height: 2.5rem;
    animation: spin 1s infinite;
    border: .3rem solid #08519a;
    border-bottom-color: transparent;
    border-radius: 25px;
}

#loader-progress {
    width: 200px;
    height: .4rem;
    max-width: 75svw;
    overflow: hidden;
    border-radius: .2rem;
    background-color: #c6c6c0;
}

#loader-progress-value {
    height: .4rem;
    width: 0;
    transition: .15s width;
    background-color: #08519a;
}

header {
    display: flex;
    align-items: end;
    position: relative;

    width: 100svw;
    height: 90svh;

    gap: 0 3rem;
    padding: 0 3rem 6rem;
    color : #333;
}

header article, header aside { flex: 1 0 50% }
header article { z-index: 2; }
header aside { z-index: 1; }

header::before {
    content: ''; 
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    background-image: var(--bg-url);
    background-color: var(--background);
    opacity: var(--opacity);
    z-index: -2;
}

header::after {
    content: '';
    position: absolute;
    inset: 0;

    z-index: -1;
    background-image: linear-gradient(to top right, #0006, #0000);
    background-color: var(--veil);
    transition: background-color .5s ease-in-out;
}

header #thumbnails {
    white-space: nowrap;
    transition: .2s transform;
}

header #thumbnails * {
    all: unset;
    cursor: pointer;
    display: inline-block;
    width: min(20svw, 20svh);
    height: min(35svw, 35svh);
    border-radius: var(--radius-sm);
    margin: 0 .5rem;
    background: center / cover no-repeat var(--img)  #FDA;
    box-shadow: 0 0 1rem #0005;
}

header ul {
    padding: 0;
}

header #current-country-name {
    height: 3rem;
    overflow: hidden;
    cursor: url('/pause.png?6'), default;
}

header #country-names {
    margin: 0 .4rem;
    position: relative;
    list-style: none;
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 400;
    white-space: nowrap;
    transition: .2s transform;
    color: #EEE;
    text-shadow: 0 0 10px #333;
}

header #country-names > li {
    position: absolute;
    top: 0;
    transform: translateY(1.5rem) rotateX(-90deg);
    transform-origin: center;
}

header #country-names > li:nth-child(1) {
    transform: none;
}

header #current-description {
    overflow: hidden;
    height: 8rem;

    mask-image: linear-gradient(to bottom, #0000, #000 5%, #000 95%, #0000);
    mask-size: 100%;
    mask-repeat: no-repeat;
    position: relative;
    cursor: url('/pause.png?6'), default;
    /*background-color: #0003;*/
    border-radius: .6rem;
}

header #country-descriptions {
    margin: 0;
    width: 30rem;
    list-style: none;
    font-size: 1rem;
    line-height: 1.2rem;
    transition: .2s transform;
    color: #EEE;
}

header #country-descriptions li {
    overflow: auto;
    height: 8rem;
    padding: .4rem;
    position: relative;
    text-shadow: 0 0 5px #000, -1px -1px 0 #888A, 1px -1px 0 #888A, -1px 1px 0 #888A, 1px 1px 0 #888A;
}


@media (max-width: 27.5rem) {
    header #country-names {
        font-size: 1.5rem;
    }

    header #country-descriptions {
        font-size: .95rem;
        line-height: 1.05rem;
    }
}


@media (max-width: 23rem) {
    header #country-names {
        font-size: 1.5rem;
    }

    header #country-descriptions {
        font-size: .83rem;
        line-height: .9rem;
    }
}

header .cta {
    margin-top: var(--marg-md);
    float: right;
}

header #carousel-controls {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: end;
    gap: .5rem;

    margin-top: var(--marg-md);
}


header .carousel-btn {
    border: .15rem solid #f9eee2;
    cursor: pointer;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    fill: #f9eee2;
    filter: drop-shadow(0rem 0rem .2rem #000);
    background: transparent;
}
header .carousel-btn svg {
    width: 100%;
    height: 100%;
}

header .carousel-btn svg.right {
    transform: translateX(1px);
}


@media ((max-height: 700px) and (max-aspect-ratio: 1/1)) or (max-width: 46rem) {
    header {
        align-items: start;
        justify-content: end;
        flex-direction: column-reverse;
        padding: 4rem 3rem;
    }

    header aside {
        flex: 0;
        margin-left: 50svw;
    }

    header article {
        flex: 0;
    }

    header #country-descriptions {
        width: 100%;
    }

    header #thumbnails * {
        aspect-ratio: .57;
        width: auto;
        height: calc(100svh - 16rem - 3rem - 5rem - var(--marg-md) - 1.5rem - var(--marg-lg) - 2.4rem)
    }

    header #carousel-controls {
        margin-top: 1rem;
    }

    header .cta {
        margin-top: 1rem;
    }
}

@media ((max-height: 700px) and (max-aspect-ratio: 1/1)) or (max-aspect-ratio: 1/2) {
    header #thumbnails {
        display: none;
    }
}

/* PRESENTATION */
section#a-propos {
    background: linear-gradient(135deg, #fff8f0 0%, #fff6e5 100%);
    padding: 7rem 1rem 5rem 1rem;
}

section#a-propos .container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 75px;
}

section#a-propos img {
    width: 250px;
    max-width: 80svw;
    flex: 0 0;
    border-radius: 1rem;
    filter: drop-shadow(0 0 7px #0007);
}

section#a-propos div#text {
    width: 550px;
    max-width: 90svw;
    color: #556;
}



section#a-propos #social {
    display: flex;
    flex-flow: row nowrap;
    justify-content: right;
    gap: 1rem;
    margin: 2rem 0;
}

section#a-propos #social svg {
    width: 2rem;
    height: 2rem;
    color: #556;
    transition: .2s color;
}
section#a-propos #social a:hover svg {

    color: #a6713a;
}

@media (max-width: 900px) {
    section#a-propos .container {
        gap: 25px;
        flex-direction: column-reverse;
    }
}

/* TARIFS */

section#tarifs  {
    padding: 6rem 1rem 4rem 1rem;
}

section#tarifs .pricing-tiers {
    display: flex;
    gap: 10rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 6rem 0;
}

section#tarifs .pricing-card img {
    width: 100%;
}

section#tarifs .pricing-card {
    border-radius: 1rem;
    padding-bottom: 2.5rem;
    flex: 1 1 270px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#tarifs h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 .2rem 0;
    color: #4b3322;
}
section#tarifs .pricing-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: #D17554;
    margin-bottom: 0.5rem;
}
section#tarifs .pricing-card-desc {
    color: #685d55;
    font-size: .8rem;
    margin-bottom: 1.2rem;
    text-align: center;
}
section#tarifs ul {
    list-style: none;
    padding: 0 0 0 .5rem;
    margin: 2rem 0 1.5rem 0;
    color: #4b2e1e;
    font-size: .9rem;
    margin: 1.5rem;
}
section#tarifs ul li {
    margin-bottom: 0.5rem;
}

section#tarifs ul li svg {
    height: 1rem;
    width: 1rem;
    display: inline-block;
    vertical-align: middle;
}

section#tarifs .info {
    border: 1px solid currentColor;
    border-radius: 50%;
    width: .7rem;
    display: inline-block;
    height: .7rem;
    font-size: .5rem;
    text-align: center;
    line-height: .6rem;
    color: #b9ab9a;
    vertical-align: super;
}
@media (max-width: 1100px) {
    section#tarifs .pricing-tiers {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    section#tarifs .pricing-card {
        max-width: 350px;
        width: 100%;
    }
}

/* Travel Book */
section#travel-book {
    padding: 6rem 1rem 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}



section#travel-book .travelbook-cards {
    padding: 3rem;
    justify-items: center;
    
    display: grid;
    gap: 5rem;
    grid-template-columns: 1fr;
}

/* Medium screens → 2 × 2 */
@media (min-width: 50rem) {
    section#travel-book .travelbook-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    section#travel-book .card {
        padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    }
}

/* Large screens → 1 × 4 */
@media (min-width: 80rem) {
    section#travel-book .travelbook-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

section#travel-book .card {
    border-radius: var(--radius-sm);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 280px;
    transition: transform 0.15s;
}

section#travel-book .card img {
    width: 5rem;
    height: 5rem;
    display: block;
    margin: 0 auto 2rem;
}

section#travel-book .card h3 {
    font-size: 1.25rem;
    color: #4b3322;
    text-align: center;
    margin-bottom: 0.7rem;
}

section#travel-book .card p {
    font-size: 1rem;
    color: #443120;
    text-align: center;
}

section#travel-book .travelbook-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

section#travel-book .cta {
    transition: .2s transform;
}
section#travel-book .cta:hover {
    transform: scale(1.1);
}

section#travel-book .response-time {
    color: #6d5c4d;
    font-size: 1rem;
    text-align: center;
}


@media (max-width: 500px) {
    section#travel-book {
        padding: 1rem;
    }

    section#travel-book .cta {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
}

/* STEPS */

section#les-etapes {
  padding: 5rem 1rem;
  
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  background: transparent;
}

section#les-etapes .bg {
  position: fixed;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-color: var(--background);

  z-index: -10;
  pointer-events: none;

  will-change: bottom;
}

section#les-etapes .bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #0004;
}

section#les-etapes .content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 5rem 0;
  color: white;
}


section#les-etapes h2, #les-etapes .desc {
    text-shadow: 0 0 .5rem #333;
    color: #ece6e2;
}

section#les-etapes #steps {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;

    margin: 6rem 0;

    position: relative;
}

section#les-etapes #steps::before {
    content: '';
    width: 1rem;
    height: 100%;
    
    position: absolute;
    top: 0;
    left: calc(50% - 16rem);
    z-index: 1;

    filter: drop-shadow(0 0 .5rem #807d77);   
    background-image: radial-gradient(ellipse 300% 50% at center,#c6c2b9 90%, transparent 96%);
}

section#les-etapes .step {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

section#les-etapes .bubble {
    width: 8rem;
    height: 8rem;
    padding: 1.5rem;
    border-radius: 50%;
    flex-shrink: 0;

}

section#les-etapes .bubble svg {
    width: 100%;
    height: 100%;
}

section#les-etapes .step .txt {
    width: 30rem;
    text-shadow: 0 0 .5rem #333;
    color: #FFF;
}

section#les-etapes .step h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: .5rem 0;
}

section#les-etapes .step p {
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 50rem) {
    section#les-etapes #steps::before {
        left: calc(50% - 11rem)
    }

    section#les-etapes .step .txt {
        width: 20rem;
    }
}

@media (max-width: 35rem) {
    section#les-etapes  #steps::before {
        left: 3.5rem;
    }

    section#les-etapes  .step .txt {
        width: auto;
    }
}

/* SERVICES */
section#services {
    display:flex;
    flex-direction: row;
    justify-content: space-evenly;

    gap: 3rem;
    padding: 10rem 0;
    background:#FAF3EB;
}

@media (max-width: 70rem) {
    section#services {
        flex-direction: column;
    }
}

section#services .service {
    text-align: center;

}

section#services .service img {
    width: 10rem;
    height: 10rem;
}

section#services .service h3 {
    color: #D17554;
}



/* Featured posts */
section#featured-posts {
    text-align: center;
}

section#featured-posts .scroll-h {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3rem 0;
    
    white-space: nowrap;
    
}

section#featured-posts .scroll-h > * {
    vertical-align: top;
    white-space: normal;
    text-align: left;
}

section#featured-posts .cta {
    display: inline-block;
    margin: 3rem auto;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffd1a6 50%, #ffe8cc 100%);
}

footer section {
    width: 100vw;
    min-height: 400px;
    margin: 0 auto;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
}

footer .info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem 3rem 4vw;
    color: #3a2c1a;
    min-width: 0;
}
footer .info h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #a05a00;
}
footer .info p {
    font-size: 1.15rem;
    line-height: 1.3;
}
footer .contact-form {
    flex: 1 1 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4vw 3rem 2rem;
    min-width: 0;
}

@keyframes rotate {
    from { transform: rotate(0); }
    from { transform: rotate(-1turn); }
}

footer .loader {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: .1rem solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate 1s ease-in-out infinite;
}

footer form {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
footer label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}


footer input.email {
    padding-left: 44px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNhMDVhMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJtMjIgNy04Ljk5MSA1LjcyN2EyIDIgMCAwIDEtMi4wMDkgMEwyIDciIGNsYXNzPSJzLVFRNEpWN0kydjFKUCIvPjxyZWN0IHg9IjIiIHk9IjQiIHdpZHRoPSIyMCIgaGVpZ2h0PSIxNiIgcng9IjIiIGNsYXNzPSJzLVFRNEpWN0kydjFKUCIvPjwvc3ZnPg==');
}

footer input.phone {
    padding-left: 44px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNhMDVhMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTMuODMyIDE2LjU2OGExIDEgMCAwIDAgMS4yMTMtLjMwM2wuMzU1LS40NjVBMiAyIDAgMCAxIDE3IDE1aDNhMiAyIDAgMCAxIDIgMnYzYTIgMiAwIDAgMS0yIDJBMTggMTggMCAwIDEgMiA0YTIgMiAwIDAgMSAyLTJoM2EyIDIgMCAwIDEgMiAydjNhMiAyIDAgMCAxLS44IDEuNmwtLjQ2OC4zNTFhMSAxIDAgMCAwLS4yOTIgMS4yMzMgMTQgMTQgMCAwIDAgNi4zOTIgNi4zODQiIGNsYXNzPSJzLVFRNEpWN0kydjFKUCIvPjwvc3ZnPg==');
}

footer input {
    padding: 0.7rem;
    font-size: 1rem;
    width: 100%;


    background-repeat: no-repeat;
    background-position:  10px 50%;
    background-size: 24px;

    border-radius: 0.5rem;
    border: 1px solid #e6b17a;
    width: 100%;
    box-sizing: border-box;
    transition: .2s padding-left;
}

footer input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}
footer .consent-label {
    display: flex;
    align-items: flex-start;
    font-size: 0.8rem;
    gap: 0.5rem;
    margin: 1.5rem 0;
}
footer button {
    background: #fc4a1a;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.9rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
footer button.small {
    padding: .3rem .5rem;
    font-size: .8rem;
}
footer button:enabled:hover {
    background: #f7b733;
    color: #222;
}

footer button:disabled, button.disabled {
    background: rgb(226, 192, 182);
}
footer .error {
    color: #b00020;
    margin: 0;
    font-size: .8rem;
}
footer .success {
    color: #1b5e20;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

footer form p {
    font-size: .8rem;
}
@media (max-width: 900px) {
    footer section {
        flex-direction: column;
        padding: 0;
    }
    footer .info, .contact-form {
        padding: 2rem 6vw;
    }
    footer .contact-form {
        padding-top: 0;
    }
}
@media (max-width: 600px) {
    footer .info h3 {
        font-size: 1.5rem;
    }
    footer .info, .contact-form {
        padding: 1.2rem 2vw;
    }
    footer form {
        padding: 1.2rem;
    }
}

footer #credits {
    margin: 0 3rem;
    padding: 3rem 0;
    color: #8f714f;
}

footer #credits a {
    color: #a35b00;
}