@font-face{font-family:Montserrat;src:url('/brand/montserrat-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{
  --brand-navy:#0B3D91;
  --brand-deep:#082E61;
  --brand-blue:#2A7DE1;
  --brand-cyan:#56C4DE;
  --brand-sand:#E8D5B7;
  --brand-graphite:#2D2D2D;
  --ink:#102E52;
  --green:var(--brand-navy);
  --muted:#48627C;
  --paper:#F4F8FB;
  --line:#CBDDEB;
  --mint:#E8F4FA;
  --ochre:#1764BC;
  font-family:Montserrat,Arial,sans-serif;
}
body{background:radial-gradient(circle at 94% 17%,rgba(86,196,222,.08),transparent 480px),var(--paper)}
a{color:var(--brand-navy);text-decoration-thickness:1px;text-underline-offset:4px}
button,.button{background:var(--brand-navy);border-radius:10px;font-weight:700;transition:background-color .2s ease,transform .2s ease}
button:hover:not(:disabled),.button:hover{background:var(--brand-deep)}
button:active:not(:disabled),.button:active{transform:translateY(1px)}
button.secondary,.button.secondary{border-color:#AFC7DD;color:var(--brand-navy);background:#fff}
button.secondary:hover,.button.secondary:hover{background:var(--mint)}
input,select,textarea{border-color:#AEC5D8;border-radius:8px}
input::placeholder,textarea::placeholder{color:#657D91}
input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:var(--ochre)}
::selection{background:#B9E6F4;color:var(--brand-deep)}
*{scrollbar-color:#8DB3D3 transparent;scrollbar-width:thin}

.site-header{max-width:1320px;padding-top:21px;padding-bottom:21px}
.site-header .brand{display:flex;align-items:center;gap:11px;font-family:Montserrat,Arial,sans-serif;color:var(--brand-deep);line-height:1;text-decoration:none;min-width:0}
.site-header .brand img{display:block;width:240px;height:auto;flex:none}
.site-header nav a{font-weight:650}
.site-header nav .button{padding:10px 16px}
main{padding-top:36px}

h1,h2,h3,.steps h3,.rail h3,.day-nav strong,.metrics strong,.preview-card h3,
.trip-card--listed h3,.billing-stats strong,.billing-trip-list>h3,.billing-ledger>h3,
.billing-offer h3,.billing-offer-head h4,.billing-offer-price strong,.billing-trip-summary h4,
.billing-register h4,.photo figcaption strong{
  font-family:Montserrat,Arial,sans-serif;
  letter-spacing:-.035em;
}
h1,h2{font-weight:750}
h3,.steps h3,.rail h3{font-weight:700}
.trip-card--listed h3{font-weight:740}
.tag{background:#E0EFF9;color:var(--brand-deep);font-weight:650}
.tabs a.active{background:var(--brand-navy)}
.day-nav a.active{background:#D8EBF7;color:var(--brand-deep);font-weight:700}
.rail,.message{background:#E8F4FA}
.photo{background:#DDECF6}
.photo figcaption{background:linear-gradient(transparent,rgba(5,35,77,.92))}
.preview-card{background:#fff}
.trip-card--listed{background:#fff;border:1px solid #D6E5EF;border-radius:18px;box-shadow:0 10px 28px rgba(8,46,97,.055);overflow:hidden;padding-bottom:0;transition:transform .2s ease,box-shadow .2s ease}
.trip-card--listed:hover{transform:translateY(-3px);box-shadow:0 17px 34px rgba(8,46,97,.1)}
.trip-card--listed .photo{border-radius:0}
.trip-card--listed .trip-card-body{padding:21px 24px 26px;border-top:3px solid #CBE9F3}
.trip-card--listed h3{font-size:clamp(27px,2.5vw,34px)}
.trip-card-action{color:var(--brand-navy)}
.preview-highlights li::before{background:var(--brand-blue)}
.library-page{position:relative}
.library-hero{position:relative;display:flex;align-items:end;justify-content:space-between;gap:28px;min-height:275px;margin:0 0 27px;padding:42px clamp(28px,4vw,55px);border:1px solid #CFE4EF;border-radius:22px;overflow:hidden;background:linear-gradient(115deg,#E2F1F7 0%,#EFF8FA 55%,#F8FBFA 100%)}
.library-hero::before{content:"";position:absolute;width:390px;height:390px;right:-95px;top:-220px;border:1px solid rgba(11,61,145,.16);border-radius:50%;box-shadow:0 0 0 54px rgba(86,196,222,.055),0 0 0 108px rgba(86,196,222,.035)}
.library-hero::after{content:"";position:absolute;width:8px;height:8px;right:231px;bottom:52px;border-radius:50%;background:var(--brand-blue);box-shadow:86px -38px 0 -2px var(--brand-cyan),177px -12px 0 -2px var(--brand-blue)}
.library-hero-copy,.library-hero .button{position:relative;z-index:1}
.library-hero-copy{max-width:740px}
.library-kicker{display:inline-flex;align-items:center;gap:10px;color:var(--brand-navy);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.library-kicker::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand-blue)}
.library-hero h1{font-size:clamp(42px,5vw,66px);line-height:1.05;margin:14px 0 17px}
.library-hero p{font-size:15px;line-height:1.6;margin:0;color:#365A75}
.library-hero .button{flex:none;align-self:end;white-space:nowrap}
.library-page .library-intro{max-width:76ch;margin:0 0 28px;padding:2px 0 2px 20px;border-left:3px solid var(--brand-cyan);color:#365A75;line-height:1.6}
.library-page .trip-list{gap:30px 25px;margin-top:0}
.library-page .library-footer{margin-top:34px}
.auth{background:#fff;padding:clamp(26px,4vw,48px);border-radius:16px;border:1px solid var(--line)}
.auth h1{font-weight:750}
.login-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);max-width:1120px;min-height:540px;margin:12px auto 56px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 20px 65px rgba(8,46,97,.08)}
.login-brand-panel{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:48px 35px;background:linear-gradient(145deg,#DCEFF8,#F5FBFE);overflow:hidden}
.login-brand-panel::after{content:"";position:absolute;z-index:-1;width:500px;height:500px;border:1px solid rgba(11,61,145,.12);border-radius:50%;right:-210px;bottom:-275px}
.login-brand-panel img{display:block;width:min(100%,290px);height:auto;max-height:380px;object-fit:contain}
.login-brand-panel p{margin:0;color:var(--brand-deep);font-size:13px;line-height:1.6;text-align:center;max-width:28ch}
.login-auth{display:flex;flex-direction:column;justify-content:center;max-width:none;margin:0;padding:clamp(34px,4vw,52px);border:0;border-radius:0}
.login-auth h1{font-size:clamp(38px,3.7vw,48px);line-height:1.08;max-width:13ch;margin:7px 0 14px}
.login-auth>.muted{font-size:15px;line-height:1.65;margin-bottom:22px}
.login-back{align-self:flex-start;font-size:12px;font-weight:650;text-decoration:none;margin-bottom:25px}
.login-eyebrow{font-size:11px;font-weight:800;letter-spacing:.15em;color:var(--brand-navy);margin:0}
.login-auth .form{gap:12px}
.login-auth label{font-size:13px}
.login-auth input{padding:14px 15px;border-radius:9px}
.login-auth .form button{margin-top:3px;padding:14px 20px}
.login-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;font-size:12px;line-height:1.6}

.landing:not(.landing-brand) h1{font-family:Georgia,serif;font-weight:400;line-height:1.05;letter-spacing:-.035em}

.landing-brand{
  grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);
  gap:0;
  align-items:stretch;
  min-height:545px;
  background:var(--brand-deep);
  color:#fff;
  border-radius:16px;
  overflow:hidden;
  padding:0;
  margin:0 0 58px;
}
.landing-copy{padding:clamp(34px,5vw,72px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.landing-brand h1{font-size:clamp(46px,5vw,72px);line-height:1.07;letter-spacing:-.045em;margin:0 0 24px;max-width:12ch}
.landing-brand h1 span{color:var(--brand-cyan)}
.landing-brand .landing-copy>p:not(.landing-footnote){font-size:17px;line-height:1.65;color:#E7F3FB;max-width:42ch;margin:0 0 32px}
.landing-brand .button{background:#fff;color:var(--brand-deep);border-color:#fff}
.landing-brand .button:hover{background:#D9EFF7;border-color:#D9EFF7}
.landing-brand .landing-login{color:#fff;font-weight:700;text-decoration-thickness:1px}
.landing-brand :focus-visible{outline-color:#fff}
.landing-footnote{color:#C6E1F3!important;font-size:12px!important;line-height:1.6!important;margin:38px 0 0!important;max-width:42ch!important}
.landing-image{position:relative;margin:0;min-height:545px;overflow:hidden;background:#40678C}
.landing-image img{width:100%;height:100%;object-fit:cover;object-position:60% center;position:absolute;inset:0}
.landing-image figcaption{position:absolute;left:20px;bottom:18px;color:#fff;font-size:11px;padding:6px 9px;background:rgba(5,35,77,.86);border-radius:4px}
.landing-image a{color:#fff}
.manifesto{padding:50px 0 52px;gap:70px}
.manifesto h2{font-size:clamp(32px,3.7vw,49px);line-height:1.13;max-width:13ch}
.manifesto p{font-size:17px;line-height:1.7}
.steps{padding-top:34px;gap:38px}
.steps h3{font-size:23px;color:var(--brand-deep)}
.steps p{font-size:14px;line-height:1.65;color:var(--muted)}

.site-footer{max-width:none;margin-top:36px;padding:28px max(4vw,calc((100vw - 1220px)/2));background:var(--brand-deep);color:#E7F3FB;border:0;align-items:center}
.site-footer .footer-brand{display:flex;align-items:center;gap:9px;font-weight:750}
.site-footer .footer-brand img{display:block}
.site-footer a{color:#fff}

@media(max-width:850px){
  .site-header{flex-direction:column;align-items:flex-start;gap:11px}
  .site-header nav{width:100%;justify-content:flex-start}
  .library-hero{align-items:start;flex-direction:column;min-height:0}
  .library-hero .button{align-self:start}
  .login-layout{grid-template-columns:1fr;max-width:570px}
  .login-brand-panel{min-height:250px;padding:22px}
  .login-brand-panel img{width:140px;max-height:185px}
  .login-brand-panel p{display:none}
  .login-auth{padding:38px 42px 45px}
  .login-back{margin-bottom:25px}
  .landing-brand{grid-template-columns:1fr}
  .landing-copy{padding:45px clamp(25px,6vw,55px)}
  .landing-image{min-height:300px}
  .landing-image img{object-position:center 56%}
  .manifesto{gap:22px}
  .site-footer{padding:25px 4vw}
}
@media(max-width:600px){
  .library-hero{padding:28px 25px;border-radius:17px;gap:23px}
  .library-hero::before{width:260px;height:260px;right:-130px;top:-145px}
  .library-hero::after{display:none}
  .library-hero h1{font-size:42px}
  .library-page .library-intro{margin-bottom:25px;font-size:13px}
  .trip-card--listed .trip-card-body{padding:18px 20px 23px}
  .site-header{padding:16px 5vw 12px;gap:13px}
  .site-header .brand img{width:min(44vw,174px)}
  .site-header nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;align-items:center}
  .site-header nav a,.site-header nav button{font-size:12px;white-space:nowrap}
  .site-header nav button{justify-self:start;padding:6px 12px}
  .site-header nav .button{display:none}
  main{padding-top:22px}
  .login-layout{margin:0 auto 35px;border-radius:15px}
  .login-brand-panel{display:none}
  .login-auth{padding:30px 25px 36px}
  .login-auth h1{font-size:38px}
  .login-links{flex-direction:column;gap:8px}
  .landing-brand{border-radius:13px;margin-bottom:34px}
  .landing-copy{padding:34px 24px 37px}
  .landing-brand h1{font-size:clamp(43px,10vw,59px)}
  .landing-brand .landing-copy>p:not(.landing-footnote){font-size:15px}
  .landing-brand .actions{align-items:stretch;gap:19px;flex-direction:column}
  .landing-brand .button{text-align:center}
  .landing-footnote{margin-top:30px!important}
  .landing-image{min-height:240px}
  .manifesto{padding:36px 0;grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:10px}
  .steps>div{padding:13px 0;border-bottom:1px solid var(--line)}
  .site-footer{align-items:flex-start;gap:12px}
}
@media(prefers-reduced-motion:reduce){button,.button,.trip-card--listed{transition:none;transform:none!important}}
@media print{.site-footer{background:#fff;color:#000}.landing-image{display:none}.landing-brand{color:#000;background:#fff}}

/* Direção editorial verde, a partir das telas de referência de Artur. */
:root{
  --brand-navy:#174D45;
  --brand-deep:#0E302E;
  --brand-blue:#287A69;
  --brand-cyan:#77A99B;
  --brand-sand:#E8EFE8;
  --brand-graphite:#183230;
  --ink:#102C2B;
  --green:#174D45;
  --muted:#526966;
  --paper:#FAFBF7;
  --line:#D6E0D9;
  --mint:#E9F1EB;
  --ochre:#287A69;
  --display:'Iowan Old Style',Baskerville,Georgia,serif;
}
body{background:var(--paper);color:var(--ink)}
a{color:var(--brand-deep)}
button,.button{background:var(--brand-navy);border-radius:9px;font-weight:700}
button:hover:not(:disabled),.button:hover{background:#103E38}
button.secondary,.button.secondary{border-color:#C8D5CD;color:var(--brand-deep);background:transparent}
button.secondary:hover,.button.secondary:hover{background:#EEF4EF}
input,select,textarea{border-color:#AABDB1}
input::placeholder,textarea::placeholder{color:#667A73}
::selection{background:#CBE8D8;color:var(--brand-deep)}
*{scrollbar-color:#8AAC9C transparent}
.site-header{max-width:none;padding:18px max(4vw,calc((100vw - 1360px)/2));background:rgba(250,251,247,.94);border-color:var(--line)}
.site-header .brand img,.login-brand-panel img{filter:hue-rotate(-44deg) saturate(.78) brightness(.84)}
.site-header nav{gap:clamp(13px,2.2vw,34px)}
.site-header nav a{position:relative;color:var(--ink);font-weight:600;padding:8px 0}
.site-header nav a:hover,.site-header nav a[aria-current=page]{color:var(--brand-deep)}
.site-header nav a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--brand-navy)}
.site-header nav button.secondary{padding:10px 22px}
main{max-width:1440px;padding:30px 4vw 76px}
h1,h2,h3,.steps h3,.rail h3,.day-nav strong,.metrics strong,.preview-card h3,
.trip-card--listed h3,.billing-stats strong,.billing-trip-list>h3,.billing-ledger>h3,
.billing-offer h3,.billing-offer-head h4,.billing-offer-price strong,.billing-trip-summary h4,
.billing-register h4,.photo figcaption strong{
  font-family:var(--display);letter-spacing:-.032em;font-weight:400;
}
h1{font-size:clamp(44px,6vw,84px);line-height:1.02}
h2{font-size:clamp(33px,3.5vw,48px);line-height:1.07}
.page-eyebrow{display:block;color:#537F71;font-size:11px;line-height:1.4;font-weight:750;letter-spacing:.26em;text-transform:uppercase;margin-bottom:19px}
.tag{background:#E5EEE7;color:var(--brand-deep)}
.tabs{gap:12px;padding:0;border-bottom:1px solid var(--line);margin-bottom:36px}
.tabs a{border-radius:0;padding:15px 12px 13px;color:var(--muted);font-weight:650;border-bottom:2px solid transparent}
.tabs a.active,.tabs a:hover{background:transparent;color:var(--brand-deep);border-bottom-color:var(--brand-navy)}
.day-nav a.active,.rail,.message,.editor{background:var(--mint);color:var(--ink)}
.photo{background:#E0EAE2}
.photo figcaption{background:linear-gradient(transparent,rgba(8,40,36,.89))}
.preview-card{background:#fff;border-color:var(--line)}
.preview-highlights li::before{background:var(--brand-navy)}

/* Entrada pública: mantém a fotografia e a mensagem originais. */
.landing-editorial{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(28px,5vw,82px);padding:22px 0 60px;min-height:540px}
.landing-editorial-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 0}
.landing-editorial h1{font-size:clamp(54px,5.8vw,78px);max-width:12ch;font-family:var(--display);font-weight:400;line-height:.99;letter-spacing:-.04em;margin:0 0 25px}
.landing-editorial p{max-width:43ch;font-size:18px;line-height:1.55;color:var(--muted);margin-bottom:27px}
.landing-editorial .photo{height:480px;min-height:0;border-radius:74px 22px 22px 22px}
.landing-editorial .photo figcaption strong{font-size:27px;line-height:1.1}
.landing-editorial .actions{gap:16px 25px}
.landing-editorial .actions>a:not(.button){font-weight:650}
.manifesto{padding:42px 0 46px;gap:7vw}
.manifesto h2{max-width:13ch}
.steps{gap:3vw;padding-bottom:30px}
.steps>div{padding-top:10px}
.steps h3{font-size:28px;color:var(--ink)}

/* Capas de viagens e administração. */
.trips-hero,.admin-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);min-height:410px;margin:4px 0 40px;overflow:hidden;background:#EEF5EF;border-radius:20px}
.trips-hero::before,.admin-hero::before{display:none}
.admin-hero{min-height:350px}
.trips-hero-copy,.admin-hero-copy{padding:clamp(34px,5vw,68px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.trips-hero h1,.admin-hero h1{font-size:clamp(48px,5.4vw,78px);max-width:11ch;margin:0 0 22px}
.trips-hero p,.admin-hero p{font-size:17px;line-height:1.55;max-width:44ch;color:var(--muted);margin:0 0 28px}
.trips-hero-media,.admin-hero-media{min-width:0;position:relative}
.trips-hero .photo,.admin-hero .photo{position:absolute;inset:0;width:100%;height:100%;min-height:0;border-radius:0}
.trips-hero .photo figcaption,.admin-hero .photo figcaption{font-size:11px;padding:45px 20px 14px}
.trips-hero:not(:has(.trips-hero-media)),.admin-hero:not(:has(.admin-hero-media)){grid-template-columns:1fr}
.catalog-heading{margin:0 0 18px}
.catalog-heading:not(:first-child){margin-top:48px}
.admin-tabs{margin-top:0;margin-bottom:30px}

/* Biblioteca com leitura mais aberta e fotografias como protagonistas. */
.library-hero{display:flex;align-items:end;min-height:0;margin:0 0 27px;padding:30px 0 34px;border:0;border-radius:0;background:transparent;overflow:hidden}
.library-hero::before{width:440px;height:440px;right:-78px;top:-240px;border-color:rgba(23,77,69,.1);box-shadow:0 0 0 45px rgba(23,77,69,.018),0 0 0 90px rgba(23,77,69,.014),0 0 0 135px rgba(23,77,69,.012)}
.library-hero::after{display:none}
.library-hero-copy{max-width:830px}
.library-kicker{color:#537F71;font-size:11px;font-weight:750;letter-spacing:.25em}
.library-kicker::before{display:none}
.library-hero h1{font-family:var(--display);font-size:clamp(56px,6vw,88px);line-height:1.02;letter-spacing:-.04em;font-weight:400;margin:16px 0 13px}
.library-hero p{font-size:17px;line-height:1.55;color:var(--muted)}
.library-page .library-intro{max-width:70ch;margin:28px 0 0;padding:16px 19px;border:1px solid var(--line);border-left:2px solid var(--brand-navy);border-radius:8px;background:#F4F8F3;font-size:13px;line-height:1.6;color:var(--muted)}
.library-page .trip-list{gap:28px;margin-top:0}
.trip-card--listed{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:none;overflow:hidden;padding:0;transition:transform .22s cubic-bezier(.16,1,.3,1),border-color .2s ease}
.trip-card--listed:hover{transform:translateY(-3px);border-color:#9DB9A8;box-shadow:none}
.trip-card--listed .photo{height:clamp(230px,22vw,300px);border-radius:0}
.trip-card--listed .trip-card-body{padding:19px 24px 24px;border-top:0}
.trip-card--listed h3{font-size:clamp(30px,3vw,42px);line-height:1.05;margin-bottom:9px}
.trip-card-meta{color:var(--muted)}
.trip-card-description{color:#3D5450}
.trip-card-action{color:var(--brand-deep);font-size:13px;font-weight:700}
.trip-card-action::after{content:'  →';font-size:20px;vertical-align:-1px;padding-left:9px}
.trip-card--listed:focus-within{outline-color:var(--brand-blue);border-radius:15px}
.library-page .library-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:38px}

/* Formulários, finanças e detalhes seguem a mesma linguagem sem perder densidade. */
.auth{border-color:var(--line)}
.auth h1,.login-auth h1{font-family:var(--display);font-weight:400}
.login-layout{border-color:var(--line);box-shadow:none}
.login-brand-panel{background:linear-gradient(145deg,#E5F0E8,#F6FAF4)}
.login-brand-panel::after{border-color:rgba(23,77,69,.12)}
.login-brand-panel p,.login-eyebrow,.login-back{color:var(--brand-deep)}
.billing-stats strong,.billing-offer h3,.billing-offer strong,.billing-offer-head h4,.billing-offer-price strong,.billing-trip-summary h4,.billing-register h4,.billing-ledger>h3,.billing-trip-list>h3{font-family:var(--display);font-weight:400}
.billing-mail-state{background:var(--mint)}
.site-footer{background:transparent;color:var(--muted);border-top:1px solid var(--line);padding:24px max(4vw,calc((100vw - 1360px)/2));margin-top:0}
.site-footer .footer-brand{color:var(--brand-deep)}
.site-footer .footer-brand img{filter:hue-rotate(-44deg) saturate(.78) brightness(.84)}
.site-footer a{color:var(--brand-deep)}
@media(max-width:850px){
  .site-header{padding:18px 4vw}
  .site-header nav{gap:10px 20px}
  .landing-editorial{grid-template-columns:1fr;min-height:0;gap:25px}
  .landing-editorial h1{max-width:12ch}
  .landing-editorial .photo{height:390px}
  .trips-hero,.admin-hero{grid-template-columns:1fr;min-height:0}
  .trips-hero-copy,.admin-hero-copy{padding:35px 38px}
  .trips-hero-media,.admin-hero-media{height:270px}
  .library-hero{align-items:flex-start}
}
@media(max-width:600px){
  main{padding:24px 5vw 50px}
  .site-header{padding:15px 5vw 12px}
  .site-header nav a[aria-current=page]::after{bottom:0}
  .site-header nav button.secondary{padding:6px 12px}
  .landing-editorial{padding:9px 0 34px}
  .landing-editorial h1{font-size:clamp(47px,11vw,62px);line-height:1.02}
  .landing-editorial p{font-size:16px}
  .landing-editorial .photo{height:300px;border-radius:48px 16px 16px 16px}
  .manifesto{padding:32px 0}
  .trips-hero,.admin-hero{border-radius:15px;margin:0 0 29px}
  .trips-hero-copy,.admin-hero-copy{padding:30px 24px}
  .trips-hero h1,.admin-hero h1{font-size:clamp(46px,11vw,60px);margin-bottom:16px}
  .trips-hero p,.admin-hero p{font-size:15px}
  .trips-hero-media,.admin-hero-media{height:210px}
  .catalog-heading{font-size:36px}
  .library-hero{padding:22px 0 26px;gap:22px}
  .library-hero h1{font-size:clamp(48px,12vw,62px);line-height:1.02}
  .library-hero p{font-size:15px}
  .library-page .library-intro{margin-top:22px}
  .trip-card--listed .trip-card-body{padding:18px 20px 22px}
  .trip-card--listed h3{font-size:34px}
  .site-footer{padding:22px 5vw}
}
@media(prefers-reduced-motion:reduce){.trip-card--listed{transition:none;transform:none!important}}
@media print{.trips-hero-media,.admin-hero-media,.library-hero::before{display:none}.trips-hero,.admin-hero{display:block;background:#fff}.site-footer{background:#fff;color:#000}}

/* Composição editorial final, próxima das referências aprovadas. */
body{background:#F8FAF6;background-image:radial-gradient(circle at 3% 17%,rgba(197,221,207,.19),transparent 26%),radial-gradient(circle at 98% 38%,rgba(205,227,212,.13),transparent 26%)}
.site-header{padding-block:15px;background:rgba(248,250,246,.96);box-shadow:0 1px 0 rgba(14,48,46,.08)}
.site-header .brand img{width:252px}
.site-header nav a{font-size:14px}
main{padding-top:27px}
.landing-editorial,.trips-hero,.admin-hero,.library-hero{background-image:url('/brand/topography.svg');background-repeat:no-repeat;background-size:820px auto;background-position:left -410px bottom -295px}
.landing-editorial{position:relative;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,62px);min-height:460px;padding:18px 0 42px;margin-bottom:8px}
.landing-editorial-copy{position:relative;z-index:1;padding:16px 0}
.landing-editorial h1{font-size:clamp(48px,4.7vw,70px);line-height:1;max-width:13ch;margin-bottom:21px}
.landing-editorial p{font-size:18px;max-width:42ch}
.landing-editorial .actions{margin-top:2px}
.landing-editorial .photo{height:410px;border-radius:82px 22px 22px 22px;box-shadow:0 20px 48px rgba(15,57,51,.12)}
.landing-editorial .photo img{object-position:85% center}
.landing-editorial .photo figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:90px 34px 28px;background:linear-gradient(transparent 10%,rgba(3,42,38,.7));width:100%}
.landing-editorial .photo figcaption strong{font-size:clamp(26px,3vw,40px);line-height:1.06}
.landing-editorial .photo figcaption small,.trips-hero .photo figcaption small{font:11px/1.4 Montserrat,Arial,sans-serif;opacity:.9}
.manifesto{border-top:1px solid var(--line);padding:51px 0 49px}
.manifesto h2{font-size:clamp(35px,3.5vw,52px)}
.steps{grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);gap:0;padding-top:0}
.steps>div{padding:26px 25px 15px 0}
.steps>div+div{padding-left:25px;border-left:1px solid var(--line)}
.steps h3{font-size:25px}
.trips-hero,.admin-hero{grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr);min-height:345px;background-color:transparent;border-radius:0;overflow:visible;margin:0 0 28px;background-position:left -420px bottom -315px}
.admin-hero{min-height:315px}
.trips-hero-copy,.admin-hero-copy{position:relative;z-index:1;padding:22px 22px 22px 0}
.trips-hero h1,.admin-hero h1{font-size:clamp(44px,4.25vw,64px);line-height:1;max-width:14ch;margin-bottom:18px}
.trips-hero p,.admin-hero p{font-size:16px;max-width:42ch;margin-bottom:20px}
.trips-hero-media,.admin-hero-media{align-self:stretch;min-height:0;border-radius:82px 18px 18px 82px;overflow:hidden;box-shadow:0 15px 38px rgba(16,51,46,.09)}
.trips-hero .photo,.admin-hero .photo{border-radius:0}
.trips-hero .photo img{object-position:59% center}
.trips-hero .photo figcaption{padding:55px 22px 14px}
.catalog-heading{font-size:clamp(34px,3vw,44px);margin-bottom:20px}
.trip-list{gap:34px 28px}
.trip-card--listed{border-color:#DDE5DC;border-radius:15px;background:rgba(255,255,255,.72);box-shadow:0 9px 25px rgba(15,57,51,.035)}
.trip-card--listed:hover{box-shadow:0 17px 35px rgba(15,57,51,.09)}
.trip-card--listed .photo{height:clamp(260px,25vw,350px)}
.trip-card--listed .photo img{transition:transform .5s cubic-bezier(.18,.75,.28,1)}
.trip-card--listed:hover .photo img{transform:scale(1.035)}
.trip-card--listed .trip-card-body{padding:22px 25px 26px}
.trip-card--listed h3{font-size:clamp(28px,2.5vw,38px);margin-bottom:11px}
.trip-card-description{font-size:14px;line-height:1.65}
.trip-card-action{display:inline-flex;align-items:center;border-bottom:1px solid currentColor;padding-bottom:4px;margin-top:6px}
.trip-card-action::after{line-height:1}
.library-hero{min-height:245px;padding:34px 0 28px;margin-bottom:10px;background-position:right -60px top -155px;background-size:690px auto}
.library-hero::before{content:"";width:230px;height:230px;top:15px;right:3%;border:0;border-radius:0;box-shadow:none;background:url('/brand/symbol.png') center/contain no-repeat;filter:hue-rotate(-44deg) saturate(.78) brightness(.84);opacity:.065}
.library-hero h1{font-size:clamp(50px,5.5vw,76px);margin-top:7px}
.library-hero .button{border-radius:10px}
.library-page .library-intro{display:inline-block;max-width:72ch;background:rgba(232,241,235,.55);border:1px solid #DCE7DF;border-left:1px solid var(--brand-navy);padding:15px 19px;margin:24px 0 0}
.library-page .trip-list{gap:32px 27px}
.admin-tabs{margin-top:8px}
.site-footer{background:#F2F6F1}
@media(max-width:850px){
  .site-header .brand img{width:220px}
  .landing-editorial{grid-template-columns:1fr;min-height:0;padding:10px 0 39px}
  .landing-editorial h1{max-width:12ch}
  .landing-editorial .photo{height:360px}
  .trips-hero,.admin-hero{grid-template-columns:1fr;min-height:0}
  .trips-hero-copy,.admin-hero-copy{padding:30px 0 32px}
  .trips-hero-media,.admin-hero-media{height:270px;min-height:270px;border-radius:55px 16px 16px 16px}
  .steps{grid-template-columns:1fr}
  .steps>div,.steps>div+div{padding:22px 0;border-left:0;border-bottom:1px solid var(--line)}
  .library-hero{min-height:0}
}
@media(max-width:600px){
  .site-header .brand img{width:min(48vw,190px)}
  .landing-editorial h1,.trips-hero h1,.admin-hero h1{font-size:clamp(40px,10vw,52px)}
  .landing-editorial .photo{height:300px;border-radius:55px 16px 16px 16px}
  .landing-editorial .photo figcaption{padding:55px 20px 17px}
  .landing-editorial .photo figcaption strong{font-size:26px}
  .trips-hero-media,.admin-hero-media{height:215px;min-height:215px;border-radius:38px 14px 14px 14px}
  .catalog-heading{font-size:33px}
  .library-hero{padding:24px 0 29px;background-size:480px auto}
  .library-hero h1{font-size:clamp(44px,10vw,56px)}
  .library-hero::before{width:140px;height:140px;top:45px;right:-20px}
  .trip-card--listed .photo{height:clamp(245px,62vw,320px)}
  .trip-card--listed h3{font-size:30px}
  .trip-card--listed .trip-card-body{padding:20px 20px 24px}
}
@media(prefers-reduced-motion:reduce){.trip-card--listed .photo img{transition:none;transform:none!important}}
@media print{.landing-editorial,.trips-hero,.admin-hero,.library-hero{background-image:none}.landing-editorial .photo{display:none}}

/* Small-screen navigation and reading layout. Keep the editorial brand above. */
#mobile-nav,.mobile-day-picker{display:none}
.home-open-guides{margin:44px 0 56px}
.home-open-guides>p,.open-guide-heading>p{color:var(--muted);max-width:52ch}
.open-guide-heading{margin:0 0 28px}
.open-guide-hero{margin-bottom:28px}
.open-days{list-style:none;margin:0 0 28px;padding:0}
.open-days details{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:0;background:transparent}
.open-days summary{padding:14px 0;cursor:pointer}
.open-days summary span{color:var(--muted);font-size:.82em;margin-right:8px;white-space:nowrap}
.open-days p{margin:0 0 4px;max-width:60ch}
.touch-link{display:inline-flex;align-items:center;min-height:44px}
.password-toggle{justify-self:start;min-height:44px}
.account-email,.admin-row p{overflow-wrap:anywhere}
@media(max-width:760px){
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom));scroll-padding-bottom:88px}
  .site-header{min-height:66px;padding:10px max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));justify-content:center}
  .site-header .brand img{width:152px;height:auto}
  #nav{display:none}
  #mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:20;inset:auto 0 0;background:var(--paper);border-top:1px solid var(--line);padding:4px env(safe-area-inset-right) calc(4px + env(safe-area-inset-bottom)) env(safe-area-inset-left)}
  #mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:53px;text-decoration:none;color:var(--muted);font-size:11px;font-weight:650;line-height:1.25}
  #mobile-nav a[aria-current=page]{color:var(--green);background:var(--mint);border-radius:8px;margin:0 3px}
  #mobile-nav svg{width:21px;height:21px;flex-shrink:0}
  #main{padding-inline:16px;min-width:0}
  #main h1{font-size:clamp(32px,9vw,48px);overflow-wrap:anywhere}
  #main h2{font-size:clamp(24px,6.5vw,34px)}
  #main input:not([type=checkbox]):not([type=radio]),#main select,#main textarea{font-size:16px;min-height:44px;max-width:100%;min-width:0}
  #main button,#main .button,.tabs a{min-height:44px}
  #main:has(> .open-guide-heading){padding-top:16px}
  .open-guide-heading{margin-bottom:16px}
  #main .open-guide-heading h1{font-size:clamp(28px,8vw,40px);margin-bottom:8px;text-wrap:wrap}
  .open-guide-heading > p{margin:0;font-size:14px;line-height:1.5}
  .open-guide-heading + .trip-list{margin-top:0;gap:16px}
  .open-guide-heading + .trip-list .photo{height:auto;min-height:0;aspect-ratio:2.2 / 1;max-height:240px}
  .open-guide-heading + .trip-list .photo figcaption{padding:24px 12px 8px;font-size:11px;line-height:1.4}
  .open-guide-heading + .trip-list .trip-card-body{padding:12px 14px 14px}
  .open-guide-heading + .trip-list h3{font-size:clamp(23px,6vw,30px);margin:4px 0 6px;text-wrap:balance}
  .open-guide-heading + .trip-list .trip-card-body p{font-size:14px;line-height:1.5;margin-bottom:8px}
  .login-layout{display:block}
  .login-brand-panel{display:none}
  .auth,.login-auth{margin:10px auto 28px;padding:22px 18px;max-width:100%}
  .login-links a{display:inline-flex;align-items:center;min-height:44px}
  .landing-editorial{gap:22px}
  .landing-editorial .photo{height:clamp(185px,52vw,280px)}
  .home-open-guides{margin:32px 0 40px}
  .trip-hero,.day-layout,.timeline article,.admin-row{grid-template-columns:minmax(0,1fr)}
  .timeline article{gap:6px}
  .timeline .time{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline}
  .tabs{display:flex;flex-wrap:wrap;gap:2px 10px;overflow:visible;min-width:0}
  .tabs a{display:inline-flex;align-items:center;white-space:normal}
  .day-layout .day-nav{display:none}
  .mobile-day-picker{display:grid;gap:5px;margin-bottom:12px;font-weight:650;min-width:0}
  .mobile-day-picker select{width:100%}
  .form label,.form>*{min-width:0}
  .table-wrap{max-width:100%;overflow:visible}
  .table-wrap table{display:block;min-width:0;width:100%}
  .table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .table-wrap tbody,.table-wrap tr,.table-wrap td{display:block;width:100%;min-width:0;white-space:normal}
  .table-wrap tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .table-wrap td{padding:5px 0;border:0;overflow-wrap:anywhere}
  .table-wrap td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-size:.75rem;color:var(--muted)}
  .table-wrap td:first-child{font-weight:650}
  .actions{max-width:100%;flex-wrap:wrap}
  #notice:not(:empty){bottom:calc(74px + env(safe-area-inset-bottom));right:12px;max-width:calc(100vw - 24px)}
}
@media print{#mobile-nav{display:none}body{padding-bottom:0}}

.admin-row[hidden]{display:none}.admin-people-filters{margin-top:16px}

#nav .button{color:#fff}
.table-wrap tr[hidden]{display:none!important}.group-counts{display:flex;gap:10px 22px;flex-wrap:wrap;list-style:none;padding-left:0}.group-counts strong{font-size:1.25em}
