/* =========================================================
   JE SUIS BRETON
   STYLE.CSS — VERSION BRETONNE
   Affiche vintage / Bretagne / Gwenn ha Du
========================================================= */

:root {
    --blue: #082b3a;
    --blue-dark: #041923;
    --blue-light: #17495c;

    --red: #c83b32;
    --red-dark: #992d27;

    --yellow: #d9b44a;
    --yellow-light: #ead18a;

    --cream: #eee6d4;
    --paper: #faf6eb;
    --paper-dark: #d8cfbd;

    --black: #090909;
    --white: #ffffff;

    --grey: #66665f;
    --border: #cfc5b2;

    --shadow: 0 18px 45px rgba(4, 25, 35, .15);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;

    overflow-x: hidden;

    background-color: var(--cream);

    color: var(--black);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}


/* =========================================================
   TEXTURE PAPIER
========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background-image:
        radial-gradient(
            rgba(0,0,0,.045) 1px,
            transparent 1px
        );

    background-size: 5px 5px;

    opacity: .35;

    pointer-events: none;

    z-index: 999;
}


/* =========================================================
   LOGO EN FILIGRANE GLOBAL
========================================================= */

body::after {
    content: "";

    position: fixed;

    width: 560px;
    height: 560px;

    right: -200px;
    bottom: -180px;

    background-image:
        url("images/jesuisbreton.png");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: .035;

    pointer-events: none;

    z-index: 0;

    transform: rotate(-8deg);
}


/* =========================================================
   BASE
========================================================= */

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

h1,
h2,
h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

p {
    color: var(--grey);
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================================
   GWENN HA DU — BANDEAU
========================================================= */

.header {
    position: relative;

    z-index: 50;

    background: var(--paper);

    border-bottom: 1px solid var(--border);
}

.header::after {
    content: "";

    display: block;

    height: 6px;

    background:
        repeating-linear-gradient(
            90deg,
            var(--black) 0,
            var(--black) 34px,
            var(--white) 34px,
            var(--white) 68px
        );

    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
}


/* =========================================================
   HEADER
========================================================= */

.header-content {
    min-height: 94px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-image {
    display: block;
    width: 135px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .logo-image {
        width: 115px;
        max-height: 45px;
    }
}

.logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.logo-circle {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-right: 12px;

    border-radius: 50%;

    background: var(--blue);

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 17px;

    font-weight: 900;

    border: 3px solid var(--red);

    box-shadow:
        0 0 0 2px var(--paper),
        0 0 0 4px var(--blue);
}

.logo-name {
    color: var(--blue);

    font-size: 14px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.logo-name strong {
    color: var(--red);
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {
    display: flex;

    align-items: center;

    gap: 4px;
}

.navigation a {
    position: relative;

    padding: 12px 14px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}

.navigation a::before {
    content: "✦";

    position: absolute;

    left: 50%;
    top: -4px;

    color: var(--red);

    font-size: 8px;

    opacity: 0;

    transform: translateX(-50%);

    transition: .2s ease;
}

.navigation a:hover::before {
    opacity: 1;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 4px;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);

    transition: .2s ease;
}

.navigation a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    width: 45px;
    height: 45px;

    border: 2px solid var(--blue);

    border-radius: 3px;

    background: transparent;

    color: var(--blue);

    font-size: 21px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background: var(--blue);

    color: var(--white);

    padding: 95px 0 110px;
}


/* GRAND LOGO */

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -220px;
    top: 50%;

    background-image:
        url("images/jesuisbreton.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: .065;

    transform:
        translateY(-50%)
        rotate(7deg);

    pointer-events: none;
}


/* TRISKEL / ANCRE DECORATIVE */

.hero::after {
    content: "⚓";

    position: absolute;

    left: 3%;
    bottom: 5%;

    color: rgba(255,255,255,.055);

    font-size: 190px;

    transform: rotate(-12deg);

    pointer-events: none;
}

.hero-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr
        430px;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   HERO TEXTE
========================================================= */

.small-title {
    display: inline-block;

    margin-bottom: 22px;

    padding: 7px 13px;

    border: 1px solid
        rgba(217,180,74,.7);

    color: var(--yellow);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}

.hero h1 {
    max-width: 750px;

    font-size:
        clamp(60px, 8vw, 108px);

    line-height: .82;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.hero h1 span {
    display: block;

    color: var(--yellow);
}

.hero-subtitle {
    margin-top: 24px;

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 30px;

    font-style: italic;
}

.hero p {
    max-width: 580px;

    margin-top: 22px;

    color:
        rgba(255,255,255,.72);

    font-size: 17px;
}

.buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 3px;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        transform .2s ease,
        background .2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-red {
    background: var(--red);

    color: var(--white);
}

.button-red:hover {
    background: var(--red-dark);
}

.button-outline {
    border: 2px solid
        rgba(255,255,255,.75);

    color: var(--white);
}

.button-outline:hover {
    background: var(--white);

    color: var(--blue);
}

.button-white {
    background: var(--white);

    color: var(--blue);
}

.motto {
    margin-top: 27px;

    color: var(--yellow);

    font-family:
        Georgia,
        serif;

    font-size: 18px;

    font-style: italic;
}


/* =========================================================
   CARTE POSTALE
========================================================= */

.postcard-area {
    display: flex;

    justify-content: center;
}

.postcard {
    position: relative;

    width: 100%;

    max-width: 390px;

    min-height: 480px;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.25),
            transparent 40%
        ),
        var(--paper);

    color: var(--blue);

    border: 1px solid #c8bda9;

    box-shadow:
        12px 16px 0 rgba(0,0,0,.12),
        0 30px 55px rgba(0,0,0,.2);

    transform: rotate(2deg);
}

.postcard::before {
    content: "";

    position: absolute;

    inset: 9px;

    border: 1px solid var(--border);

    pointer-events: none;
}

.postcard::after {
    content: "✦  ⚓  ✦";

    position: absolute;

    right: 20px;
    top: 12px;

    color: var(--red);

    font-size: 9px;

    letter-spacing: 4px;

    opacity: .7;
}

.postcard-header {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom: 3px solid var(--blue);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}

.postcard-main {
    position: relative;

    z-index: 2;

    min-height: 340px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.triskel {
    color: var(--red);

    font-size: 58px;

    line-height: 1;
}

.postcard-title {
    margin-top: 10px;

    font-family:
        Georgia,
        serif;

    font-size: 43px;

    font-weight: 900;

    line-height: .9;

    letter-spacing: -2px;
}

.postcard-title.red {
    color: var(--red);
}

.postcard-separator {
    width: 100px;

    height: 4px;

    margin: 21px 0;

    background:
        repeating-linear-gradient(
            90deg,
            var(--black) 0,
            var(--black) 20px,
            var(--white) 20px,
            var(--white) 40px
        );

    border: 1px solid var(--black);
}

.postcard-main p {
    color: var(--blue);

    font-family:
        Georgia,
        serif;

    font-size: 15px;

    font-weight: bold;
}

.postcard-footer {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 13px;

    border-top: 3px solid var(--blue);

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    position: relative;

    z-index: 1;

    padding: 100px 0;
}

.intro {
    background: var(--paper);
}

.section-heading {
    max-width: 700px;

    margin-bottom: 52px;
}

.section-label {
    margin-bottom: 14px;

    color: var(--red);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}

.section-heading h2 {
    color: var(--blue);

    font-size:
        clamp(44px, 6vw, 74px);

    line-height: .92;

    letter-spacing: -3px;
}

.section-heading h2 span {
    color: var(--red);
}

.section-heading p {
    margin-top: 16px;

    font-size: 17px;
}


/* =========================================================
   CARTES
========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.card {
    position: relative;

    min-height: 340px;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 4px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.card::after {
    content: "⚓";

    position: absolute;

    right: -15px;
    bottom: -35px;

    font-size: 120px;

    opacity: .07;

    transform: rotate(-12deg);
}

.card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.card-dark {
    background: var(--blue);

    color: var(--white);
}

.card-red {
    background: var(--red);

    color: var(--white);
}

.card-light {
    background: var(--cream);

    color: var(--blue);
}

.card-icon {
    position: absolute;

    top: 20px;
    right: 25px;

    font-size: 50px;

    opacity: .18;
}

.card-number {
    margin-bottom: 12px;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;

    opacity: .65;
}

.card h3 {
    font-size: 30px;

    line-height: 1;
}

.card p {
    margin-top: 20px;

    color: inherit;

    opacity: .72;

    font-size: 14px;
}

.card-link {
    position: absolute;

    left: 35px;
    bottom: 30px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   PUBLICITE
========================================================= */

.ad-container {
    position: relative;

    z-index: 3;

    width: 100%;

    max-width: 900px;

    min-height: 100px;

    margin: 45px auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.ad-label {
    color: #999;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   QUOTE
========================================================= */

.quote-section {
    position: relative;

    overflow: hidden;

    padding: 105px 0;

    background: var(--blue-dark);

    color: var(--white);
}

.quote-section::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    left: -250px;
    top: 50%;

    background-image:
        url("images/jesuisbreton.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: .05;

    transform:
        translateY(-50%)
        rotate(-10deg);

    pointer-events: none;
}

.quote-section::after {
    content: "⚓   ✦   ☘";

    position: absolute;

    right: 3%;
    top: 10%;

    color: rgba(255,255,255,.04);

    font-size: 100px;

    transform: rotate(10deg);

    pointer-events: none;
}

.quote {
    position: relative;

    z-index: 2;

    max-width: 950px;

    margin: auto;

    padding: 65px;

    border: 1px solid
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.025);

    text-align: center;
}

.quote::before {
    content: "";

    position: absolute;

    inset: 10px;

    border: 1px solid
        rgba(217,180,74,.28);

    pointer-events: none;
}

.quote-mark {
    color: var(--yellow);

    font-family:
        Georgia,
        serif;

    font-size: 90px;

    line-height: .5;
}

.quote p {
    position: relative;

    margin-top: 20px;

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(26px, 4vw, 42px);

    font-weight: bold;

    line-height: 1.15;
}

.quote-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid
        rgba(255,255,255,.15);
}

.quote-bottom span {
    color:
        rgba(255,255,255,.55);

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.quote-bottom button {
    border: none;

    background: transparent;

    color: var(--yellow);

    font-weight: 900;

    cursor: pointer;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    position: relative;

    overflow: hidden;

    background: var(--paper);
}

.about::before {
    content: "⚫ ⚪ ⚫ ⚪";

    position: absolute;

    right: -40px;
    top: 30px;

    color: var(--blue);

    font-size: 35px;

    letter-spacing: 12px;

    opacity: .06;

    transform: rotate(8deg);
}

.about::after {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    right: -150px;
    bottom: -120px;

    background-image:
        url("images/jesuisbreton.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: .035;

    transform: rotate(7deg);

    pointer-events: none;
}

.about-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        .8fr
        1.2fr;

    gap: 90px;
}

.about-title h2 {
    color: var(--blue);

    font-size:
        clamp(43px, 5vw, 66px);

    line-height: .95;
}

.about-title h2 span {
    color: var(--red);
}

.about-content {
    max-width: 650px;
}

.about-content p {
    margin-bottom: 20px;

    color: var(--blue);

    font-family:
        Georgia,
        serif;

    font-size: 18px;
}

.signature {
    margin-top: 30px;

    color: var(--red);

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-style: italic;

    font-weight: bold;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 105px 0;

    background: var(--red);

    color: var(--white);

    text-align: center;
}

.cta::before {
    content: "";

    position: absolute;

    width: 680px;
    height: 680px;

    right: -200px;
    top: 50%;

    background-image:
        url("images/jesuisbreton.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;

    opacity: .065;

    transform:
        translateY(-50%)
        rotate(9deg);

    pointer-events: none;
}

.cta::after {
    content: "BRETAGNE";

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%)
        rotate(-7deg);

    color:
        rgba(0,0,0,.055);

    font-family:
        Georgia,
        serif;

    font-size: 17vw;

    font-weight: 900;

    white-space: nowrap;

    pointer-events: none;
}

.cta-content {
    position: relative;

    z-index: 3;
}

.cta-anchor {
    font-size: 45px;
}

.cta h2 {
    margin-top: 10px;

    font-size: 25px;
}

.cta-big {
    margin-top: 10px;

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(45px, 7vw, 90px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -3px;
}

.cta p {
    margin-top: 20px;

    color:
        rgba(255,255,255,.82);
}

.cta .button {
    margin-top: 28px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;

    z-index: 10;

    background: var(--blue-dark);

    color: var(--white);

    border-top: 6px solid var(--black);
}

.footer::before {
    content: "";

    display: block;

    height: 5px;

    background:
        repeating-linear-gradient(
            90deg,
            var(--black) 0,
            var(--black) 34px,
            var(--white) 34px,
            var(--white) 68px
        );
}

.footer-content {
    min-height: 190px;

    display: grid;

    grid-template-columns:
        1fr
        2fr
        1fr;

    align-items: center;

    gap: 30px;
}

.footer-logo {
    color: var(--white);

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--yellow);
}

.footer-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;
}

.footer-links a {
    color:
        rgba(255,255,255,.65);

    font-size: 9px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--yellow);
}

.copyright {
    color:
        rgba(255,255,255,.4);

    font-size: 10px;

    text-align: right;
}


/* =========================================================
   RESPONSIVE — TABLETTE
========================================================= */

@media (max-width: 900px) {

    .navigation {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 65px;
    }

    .hero-text {
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .buttons {
        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        padding: 40px 0;

        text-align: center;
    }

    .copyright {
        text-align: center;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 28px);
    }

    .header-content {
        min-height: 76px;
    }

    .logo-circle {
        width: 46px;
        height: 46px;

        font-size: 14px;
    }

    .logo-name {
        font-size: 11px;
    }

    body::after {
        width: 330px;
        height: 330px;

        right: -130px;
        bottom: -90px;

        opacity: .025;
    }

    .hero {
        padding: 65px 0 80px;
    }

    .hero::before {
        width: 430px;
        height: 430px;

        right: -210px;

        opacity: .045;
    }

    .hero h1 {
        font-size: 56px;

        letter-spacing: -3px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .postcard {
        min-height: 420px;
    }

    .postcard-title {
        font-size: 36px;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading h2 {
        font-size: 46px;
    }

    .card {
        min-height: 300px;
    }

    .quote {
        padding: 45px 25px;
    }

    .quote-bottom {
        flex-direction: column;
    }

    .quote-section::before {
        width: 350px;
        height: 350px;
    }

    .about::after {
        width: 300px;
        height: 300px;
    }

    .cta {
        padding: 75px 0;
    }

    .cta::before {
        width: 400px;
        height: 400px;
    }

    .cta-big {
        font-size: 48px;
    }
}